API symbolsutils
Copy
TensorDataset
- class tensorplay.utils.data.TensorDataset(*tensors: TensorBase)[source]
Dataset wrapping tensors.
Each sample will be retrieved by indexing tensors along the first dimension.
- Parameters:
*tensors (Tensor) – tensors that have the same size of the first dimension.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
