W3cubDocs

/TensorFlow C++

tensorflow::ops::Transpose

#include <array_ops.h>

Shuffle dimensions of x according to a permutation.

Summary

The output y has the same rank as x. The shapes of x and y satisfy: y.shape[i] == x.shape[perm[i]] for i in [0, 1, ..., rank(x) - 1]

Arguments:

Returns:

Constructors and Destructors
Transpose(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input perm)
Public attributes
y
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public attributes

y

::tensorflow::Output y

Public functions

Transpose

 Transpose(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input perm
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/transpose.html