First dimension length of index-th feature.
First dimension length of index-th feature. This function could be used to sort samples in DataSet.
Get data
Get data
data
Get feature sizes
Get feature sizes
feature sizes
Get label sizes
Get label sizes
label sizes
First dimension length of index-th label.
First dimension length of index-th label. This function could be used to find the longest label.
Number of tensors in feature
Number of tensors in feature
number of tensors in feature
Number of tensors in label
Number of tensors in label
number of tensors in label
A deep clone
Get feature tensor, for one feature Sample only.
Get feature tensor, for one feature Sample only. You don't need to override this, because we have add a default implement to throw exception.
feature tensor
(Since version 0.2.0) Old interface
Get label tensor, for one label Sample only.
Get label tensor, for one label Sample only. You don't need to override this, because we have add a default implement to throw exception.
label tensor
(Since version 0.2.0) Old interface
Set data of feature and label.
Set data of feature and label.
(Since version 0.2.0) Old interface
Class that represents the features and labels of a data sample.
numeric type