A deep clone
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 feature sizes
Get label sizes
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
Get label tensor for given index
Get label tensor for given index
index of specific sample
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
Set data of feature and label.
Set data of feature and label.
(Since version 0.2.0) Old interface
A kind of sample who use only one array