View source on GitHub |
Returns a tensor with axes
transposed.
tf.keras.ops.transpose(
x, axes=None
)
Args | |
---|---|
x
|
Input tensor. |
axes
|
Sequence of integers. Permutation of the dimensions of x .
By default, the order of the axes are reversed.
|
Returns | |
---|---|
x with its axes permuted.
|