MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The BinaryFile class is used to manage binary files used by the MNIST dataset creator. More...
Public Member Functions | |
BinaryFile (string strFile) | |
The constructor. More... | |
void | Dispose () |
Release all resources. More... | |
UInt32 | ReadUInt32 () |
Reads in a UINT32 and performs an endian swap. More... | |
byte[] | ReadBytes (int nCount) |
Reads bytes from the file. More... | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Dispose if disposing, or ignore if already disposed. More... | |
Properties | |
BinaryReader | Reader [get] |
Returns the binary reader used. More... | |
The BinaryFile class is used to manage binary files used by the MNIST dataset creator.
Definition at line 20 of file BinaryFile.cs.
MyCaffe.data.BinaryFile.BinaryFile | ( | string | strFile | ) |
The constructor.
strFile | Specifies the filename. |
Definition at line 30 of file BinaryFile.cs.
void MyCaffe.data.BinaryFile.Dispose | ( | ) |
Release all resources.
Definition at line 67 of file BinaryFile.cs.
|
protectedvirtual |
Dispose if disposing, or ignore if already disposed.
disposing | Specifies whether or not we are disposing. |
Definition at line 51 of file BinaryFile.cs.
byte[] MyCaffe.data.BinaryFile.ReadBytes | ( | int | nCount | ) |
Reads bytes from the file.
nCount | Specifies the number of bytes to read. |
Definition at line 101 of file BinaryFile.cs.
UInt32 MyCaffe.data.BinaryFile.ReadUInt32 | ( | ) |
Reads in a UINT32 and performs an endian swap.
Definition at line 89 of file BinaryFile.cs.
|
get |
Returns the binary reader used.
Definition at line 80 of file BinaryFile.cs.