The OpenVX Specification  dba1aa3
Tensor Transpose

Detailed Description

Performs transpose on the input tensor.

Functions

vx_node VX_API_CALL vxTensorTransposeNode (vx_graph graph, vx_tensor input, vx_tensor output, vx_size dimension1, vx_size dimension2)
 [Graph] Performs transpose on the input tensor. The node transpose the tensor according to a specified 2 indexes in the tensor (0-based indexing) More...
 
vx_status VX_API_CALL vxuTensorTranspose (vx_context context, vx_tensor input, vx_tensor output, vx_size dimension1, vx_size dimension2)
 [Immediate] Performs transpose on the input tensor. The tensor is transposed according to a specified 2 indexes in the tensor (0-based indexing) More...
 

Function Documentation

vx_node VX_API_CALL vxTensorTransposeNode ( vx_graph  graph,
vx_tensor  input,
vx_tensor  output,
vx_size  dimension1,
vx_size  dimension2 
)

[Graph] Performs transpose on the input tensor. The node transpose the tensor according to a specified 2 indexes in the tensor (0-based indexing)

Parameters
[in]graphThe handle to the graph.
[in]inputInput tensor data, Implementations must support input tensor data type VX_TYPE_INT16 with fixed_point_position 8, and tensor data types VX_TYPE_UINT8 and VX_TYPE_INT8, with fixed_point_position 0.
[out]outputoutput tensor data,
[in]dimension1Dimension index that is transposed with dim 2.
[in]dimension2Dimension index that is transposed with dim 1.
Returns
vx_node.
A node reference vx_node. Any possible errors preventing a successful creation should be checked using vxGetStatus.
vx_status VX_API_CALL vxuTensorTranspose ( vx_context  context,
vx_tensor  input,
vx_tensor  output,
vx_size  dimension1,
vx_size  dimension2 
)

[Immediate] Performs transpose on the input tensor. The tensor is transposed according to a specified 2 indexes in the tensor (0-based indexing)

Parameters
[in]contextThe reference to the overall context.
[in]inputInput tensor data, Implementations must support input tensor data type VX_TYPE_INT16 with fixed_point_position 8, and tensor data types VX_TYPE_UINT8 and VX_TYPE_INT8, with fixed_point_position 0.
[out]outputoutput tensor data,
[in]dimension1Dimension index that is transposed with dim 2.
[in]dimension2Dimension index that is transposed with dim 1.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.