powered by
Chunk
(Tensor) the tensor to split
(int) number of chunks to return
(int) dimension along which to split the tensor
Splits a tensor into a specific number of chunks. Each chunk is a view of the input tensor.
Last chunk will be smaller if the tensor size along the given dimension dim is not divisible by chunks.
dim
chunks