ngraph.transpose

ngraph.transpose(data: Union[_pyngraph.Node, int, float, numpy.ndarray], input_order: Union[_pyngraph.Node, int, float, numpy.ndarray], name: Optional[str] = None) _pyngraph.Node

Return a node which transposes the data in the input tensor.

Parameters
  • data – The input tensor to be transposed

  • input_order – Permutation of axes to be applied to the input tensor

Returns

Transpose node