TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

TensorDataset

class tensorplay.utils.data.TensorDataset(*tensors: Tensor)[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.

On this page

Ask DeepWiki