CoreFlow 1.0.0
A modern orchestration and execution runtime
|
Functions | |
VX_API_ENTRY vx_node VX_API_CALL | vxTensorConvertDepthNode (vx_graph graph, vx_tensor input, vx_enum policy, vx_scalar norm, vx_scalar offset, vx_tensor output) |
[Graph] Creates a bit-depth conversion node. | |
VX_API_ENTRY vx_status VX_API_CALL | vxuTensorConvertDepth (vx_context context, vx_tensor input, vx_enum policy, vx_scalar norm, vx_scalar offset, vx_tensor output) |
[Immediate] Performs a bit-depth conversion. | |
VX_API_ENTRY vx_node VX_API_CALL vxTensorConvertDepthNode | ( | vx_graph | graph, |
vx_tensor | input, | ||
vx_enum | policy, | ||
vx_scalar | norm, | ||
vx_scalar | offset, | ||
vx_tensor | output ) |
#include <vx_nodes.h>
[Graph] Creates a bit-depth conversion node.
[in] | graph | The reference to the graph. |
[in] | input | The input tensor. 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. |
[in] | policy | A VX_TYPE_ENUM of the vx_convert_policy_e enumeration. |
[in] | norm | A scalar containing a VX_TYPE_FLOAT32 of the normalization value. |
[in] | offset | A scalar containing a VX_TYPE_FLOAT32 of the offset value subtracted before normalization. |
[out] | output | The output tensor. Implementations must support input tensor data type VX_TYPE_INT16 . with fixed_point_position 8. And VX_TYPE_UINT8 with fixed_point_position 0. |
vx_node
. vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
VX_API_ENTRY vx_status VX_API_CALL vxuTensorConvertDepth | ( | vx_context | context, |
vx_tensor | input, | ||
vx_enum | policy, | ||
vx_scalar | norm, | ||
vx_scalar | offset, | ||
vx_tensor | output ) |
#include <vxu.h>
[Immediate] Performs a bit-depth conversion.
[in] | context | The reference to the overall context. |
[in] | input | The input tensor. 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. |
[in] | policy | A VX_TYPE_ENUM of the vx_convert_policy_e enumeration. |
[in] | norm | A scalar containing a VX_TYPE_FLOAT32 of the normalization value. |
[in] | offset | A scalar containing a VX_TYPE_FLOAT32 of the offset value subtracted before normalization. |
[out] | output | The output tensor. Implementations must support input tensor data type VX_TYPE_INT16 . with fixed_point_position 8. And VX_TYPE_UINT8 with fixed_point_position 0. |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |