Shape Manipulation Ops#
Tries to broadcast the two given blocks to a common compatible shape. |
|
Tries to broadcast the given tensor to a new |
|
Expand the shape of a tensor, by inserting new length-1 dimensions. |
|
Interleaves the values of two tensors along their last dimension. |
|
Join the given tensors in a new, minor dimension. |
|
Permutes the dimensions of a tensor. |
|
Returns a contiguous flattened view of |
|
Returns a tensor with the same number of elements as input but with the provided shape. |
|
Split a tensor in two along its last dim, which must have size 2. |
|
Permutes the dimensions of a tensor. |
|
Returns a tensor with the same elements as input but a different shape. |