Class HDF5Matrix
Representation of HDF5 dataset to be used instead of a Numpy array.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Keras.Utils
Assembly: Keras.dll
Syntax
public class HDF5Matrix : Base, IDisposable
Constructors
| Improve this Doc View SourceHDF5Matrix(String, String, Int32, Nullable<Int32>, EventHandler)
Initializes a new instance of the HDF5Matrix class.
Declaration
public HDF5Matrix(string datapath, string dataset, int start = 0, int? end = default(int? ), EventHandler normalizer = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | datapath | string, path to a HDF5 file |
System.String | dataset | string, name of the HDF5 dataset in the file specified in datapath |
System.Int32 | start | int, start of desired slice of the specified dataset |
System.Nullable<System.Int32> | end | int, end of desired slice of the specified dataset. |
System.EventHandler | normalizer | function to be called on data when retrieved |
Operators
| Improve this Doc View SourceImplicit(PyObject to HDF5Matrix)
Performs an implicit conversion from Python.Runtime.PyObject to CustomObjectScope.
Declaration
public static implicit operator HDF5Matrix(PyObject py)
Parameters
Type | Name | Description |
---|---|---|
Python.Runtime.PyObject | py | The py. |
Returns
Type | Description |
---|---|
HDF5Matrix | The result of the conversion. |
Implements
System.IDisposable