Tensor Manipulation Routines#
Transposition#
Same as self.transpose(), except that self is returned if self.ndim < 2. |
|
Returns an array with axes transposed. |
Shape manipulation#
Gives a new shape to a tensor without changing its data. |
Edit dimensionalities#
Convert inputs to tensors with at least one dimension. |
|
View inputs as tensors with at least two dimensions. |
|
View inputs as tensors with at least three dimensions. |
Joining tensors#
Join a sequence of arrays along an existing axis. |
|
Stack tensors in sequence vertically (row wise). |