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.
feature tensors
Get data
Get feature sizes
Get 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.
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
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