class MXNet::Gluon::Data::SimpleDataset(T)
Overview
Simple Dataset
wrapper for arrays and other classes that
implement Indexable
.
Defined in:
mxnet/gluon/data/dataset.crConstructors
-
.new(dataset : Indexable(T))
Creates a new instance.
Instance Method Summary
-
#size
Returns the number of elements in this container.
- #unsafe_fetch(idx)
Instance methods inherited from class MXNet::Gluon::Data::Dataset(T)
size
size,
transform(lazy = true, &proc : T -> U) forall U
transform,
unsafe_fetch(idx)
unsafe_fetch
Constructor Detail
def self.new(dataset : Indexable(T))
#
Instance Method Detail
def size
#
Description copied from module Indexable(T)
Returns the number of elements in this container.