LostTech.TensorFlow : API Documentation

Type HDF5Matrix

Namespace tensorflow.keras.utils

Parent PythonObjectContainer

Interfaces IHDF5Matrix

Representation of HDF5 dataset to be used instead of a Numpy array.

Example: Providing `start` and `end` allows use of a slice of the dataset.

Optionally, a normalizer function (or lambda) can be given. This will be called on every slice of data retrieved.
Show Example
x_data = HDF5Matrix('input/file.hdf5', 'data')
            model.predict(x_data) 

Methods

Properties

Public instance methods

string __getitem__(ndarray key)

string __getitem__(IEnumerable<int> key)

string __getitem__(ValueTuple<int, PythonClassContainer> key)

Public static methods

HDF5Matrix NewDyn(object datapath, object dataset, ImplicitContainer<T> start, object end, object normalizer)

Initialize self. See help(type(self)) for accurate signature.

Public properties

string data get; set;

object dtype get;

Gets the datatype of the dataset.

object dtype_dyn get;

Gets the datatype of the dataset.

Nullable<int> end get; set;

string Item get;

object ndim get;

Gets the number of dimensions (rank) of the dataset.

object ndim_dyn get;

Gets the number of dimensions (rank) of the dataset.

object normalizer get; set;

object PythonObject get;

PythonClassContainer refs get; set;

object refs_dyn get; set;

object shape get;

Gets a numpy-style shape tuple giving the dataset dimensions.

object shape_dyn get;

Gets a numpy-style shape tuple giving the dataset dimensions.

object size get;

Gets the total dataset size (number of elements).

object size_dyn get;

Gets the total dataset size (number of elements).

int start get; set;