Description Usage Arguments Details Value Examples
View source: R/permute.tidytensor.R
Permute the ranks of a tensor, for example to convert between "channels first" and "channels last" representations.
Ranknames are respected for both inputs and return values.
1 |
tensor |
the tidytensor permute. |
... |
ranknames or integers to permute by (quoted or unquoted). |
.dots |
character or integer vector to permute by. |
The rank
parameter may be an integer numeric vector (for permuting by index), or character vector (for permuting by rankname).
a new tidytensor.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.