![]() |
TIOVX User Guide
|
TIDL Network Kernels.
Data Structures | |
| struct | tivxTIDLJ7Params |
| TIDL params structure. More... | |
Functions | |
| static void | tivx_tidl_j7_params_init (tivxTIDLJ7Params *tidlParams) |
| TIDL params initialization. | |
| VX_API_ENTRY vx_node VX_API_CALL | tivxTIDLNode (vx_graph graph, vx_kernel kernel, vx_reference appParams[], vx_tensor input_tensors[], vx_tensor output_tensors[]) |
| [Graph] Creates a TIDL Node. More... | |
| vx_kernel | tivxAddKernelTIDL (vx_context context, uint32_t num_input_tensors, uint32_t num_output_tensors) |
| Used for the Application to create the tidl kernel from the context. More... | |
| VX_API_ENTRY vx_node VX_API_CALL tivxTIDLNode | ( | vx_graph | graph, |
| vx_kernel | kernel, | ||
| vx_reference | appParams[], | ||
| vx_tensor | input_tensors[], | ||
| vx_tensor | output_tensors[] | ||
| ) |
[Graph] Creates a TIDL Node.
| [in] | graph | Reference to vx_graph. |
| [in] | kernel | Reference to vx_kernel. |
| [in,out] | appParams | is an array of 5 parameters:
|
| [in] | input_tensors | Array of input tensors This parameter is ignored when the first layer of the network is a data layer, which is most of the time. Only networks that are dependent on the output of a previous networks have first layer that are not data layer. |
| [out] | output_tensors | Array of output tensors |
vx_node. | vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
| vx_kernel tivxAddKernelTIDL | ( | vx_context | context, |
| uint32_t | num_input_tensors, | ||
| uint32_t | num_output_tensors | ||
| ) |
Used for the Application to create the tidl kernel from the context.
| [in] | context | OpenVX context which must be created using vxCreateContext |
| [in] | num_input_tensors | Number of input vx_tensor objects to be created |
| [in] | num_output_tensors | Number of output vx_tensor objects to be created |