# TensorDataset Source: https://www.tensorplay.cn/docs/generated/tensorplay.utils.data.TensorDataset.html ```python class tensorplay.utils.data.TensorDataset(*tensors: Tensor) ``` Dataset wrapping tensors. Each sample will be retrieved by indexing tensors along the first dimension. Parameters: *tensors ([Tensor](/docs/generated/tensorplay.Tensor.html#tensorplay.Tensor)) – tensors that have the same size of the first dimension.