A deep clone
First dimension length of index-th feature.
First dimension length of index-th feature. This function could be used to sort samples in DataSet.
feature tensors
Get data
Get feature sizes
Get 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.
label tensors
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
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
A kind of Sample who hold both DenseTensor and SparseTensor as features.
numeric type