Transposes the tf.Tensor. Permutes the dimensions according to perm.
The returned tf.Tensor's dimension i will correspond to the input
dimension perm[i]. If perm is not given, it is set to [n-1...0],
where n is the rank of the input tf.Tensor. Hence by default, this
operation performs a regular matrix transpose on 2-D input tf.Tensors.
Transposes the
tf.Tensor
. Permutes the dimensions according toperm
.The returned
tf.Tensor
's dimensioni
will correspond to the input dimensionperm[i]
. Ifperm
is not given, it is set to[n-1...0]
, wheren
is the rank of the inputtf.Tensor
. Hence by default, this operation performs a regular matrix transpose on 2-D inputtf.Tensor
s.