SparseData

Input layer representing a sparse array SparseF[] of (uint, float) pairs

class SparseData : Data!(LayerT.SPARSE) {}

Constructors

this
this()
Undocumented in source.
this
this(ulong dim_out)
Undocumented in source.

Members

Mixins

__anonymous
mixin opCallNew
Undocumented in source.

Mixed In Members

From mixin opCallNew

opCall
auto opCall(T args)
Undocumented in source. Be warned that the author may not have intended to support it.

Examples

auto l = SparseData(100); // 100 is the total dimensionality of the input space,
// which means that the indices of the pairs SparseF are <= 100. For example,
// [(13, 4.7), (2, -0.12), (87, 0.6)]

Meta