View source: R/gen-namespace.R
torch_stack | R Documentation |
Stack
torch_stack(tensors, dim = 1L)
tensors |
(sequence of Tensors) sequence of tensors to concatenate |
dim |
(int) dimension to insert. Has to be between 0 and the number of dimensions of concatenated tensors (inclusive) |
Concatenates sequence of tensors along a new dimension.
All tensors need to be of the same size.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.