Tensors#
|
Extracts the batched diagonal part of a batched tensor over the specified axis. |
|
Enumerates all indices between 0 (included) and |
|
Inserts as many axes to a tensor as needed to achieve a desired rank. |
|
Finds the index of the first or last True value along the specified axis. |
|
Flattens a specified set of dimensions of a tensor. |
|
Flattens the last n dimensions of a tensor. |
|
Converts a tensor of index arrays into a tensor of flat indices. |
|
Gathers the values of a tensor |
|
Adds multiple length-one dimensions to a tensor. |
|
Generates a tensor of the specified |
|
Reshapes a dimension of a tensor into multiple dimensions. |
|
Checks if the input |