CoreFlow 1.0.0
A modern orchestration and execution runtime
|
Functions | |
VX_API_ENTRY 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) | |
VX_API_ENTRY 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) | |
VX_API_ENTRY vx_node VX_API_CALL vxTensorTransposeNode | ( | vx_graph | graph, |
vx_tensor | input, | ||
vx_tensor | output, | ||
vx_size | dimension1, | ||
vx_size | dimension2 ) |
#include <vx_nodes.h>
[Graph] Performs transpose on the input tensor. The node transpose the tensor according to a specified 2 indexes in the tensor (0-based indexing)
[in] | graph | The handle to the graph. |
[in] | input | Input 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] | output | output tensor data, |
[in] | dimension1 | Dimension index that is transposed with dim 2. |
[in] | dimension2 | Dimension index that is transposed with dim 1. |
vx_node
. vx_node
. Any possible errors preventing a successful creation should be checked using vxGetStatus
. VX_API_ENTRY vx_status VX_API_CALL vxuTensorTranspose | ( | vx_context | context, |
vx_tensor | input, | ||
vx_tensor | output, | ||
vx_size | dimension1, | ||
vx_size | dimension2 ) |
#include <vxu.h>
[Immediate] Performs transpose on the input tensor. The tensor is transposed according to a specified 2 indexes in the tensor (0-based indexing)
[in] | context | The reference to the overall context. |
[in] | input | Input 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] | output | output tensor data, |
[in] | dimension1 | Dimension index that is transposed with dim 2. |
[in] | dimension2 | Dimension index that is transposed with dim 1. |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |