R/utils-data.R
tensor_dataset.Rd
Each sample will be retrieved by indexing tensors along the first dimension.
tensor_dataset(...)
tensors that have the same size of the first dimension.