Get feature tensor for given index
Get feature tensor for given index
index of specific sample
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
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
Get label tensor for given index
Get label tensor for given index
index of specific sample
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
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
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