IdxReader Class |
Namespace: Accord.IO
The IdxReader type exposes the following members.
Name | Description | |
---|---|---|
IdxReader(String) |
Creates a new IdxReader.
| |
IdxReader(Byte, Boolean) |
Creates a new IdxReader.
| |
IdxReader(Stream, Boolean) |
Creates a new IdxReader.
| |
IdxReader(String, Boolean) |
Creates a new IdxReader.
|
Name | Description | |
---|---|---|
BaseStream |
Returns the underlying stream.
| |
DataType |
Gets the type of the data stored in this file.
| |
Dimensions |
Gets the number of dimensions for the samples.
| |
Magic |
MNIST's magic number. See remarks for more details
| |
Samples |
Gets the number of samples stored in this file.
|
Name | Description | |
---|---|---|
Dispose |
Performs application-defined tasks associated with
freeing, releasing, or resetting unmanaged resources.
| |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Releases unmanaged resources and performs other cleanup operations before the
IdxReader is reclaimed by garbage collection.
(Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Read |
Reads the next sample into the given array.
| |
ReadMatrix |
Reads the next sample as a matrix.
| |
ReadMatrixT |
Reads the next sample as a matrix.
| |
ReadToEndAsMatricesT |
Reads all samples in the file, starting from the current position, as matrices.
| |
ReadToEndAsValuesT |
Reads all samples in the file, starting from the current position, as vectors.
| |
ReadToEndAsVectorsT |
Reads all samples in the file, starting from the current position, as vectors.
| |
ReadValue |
Reads the next sample as a value.
| |
ReadVector |
Reads the next sample as a vector.
| |
ReadVectorT |
Reads the next sample as a vector.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Translate |
Translates the given IdxDataType to a .NET Type.
| |
TryReadValueT |
Reads the next sample as a value.
|
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |