![]() |
TIOVX User Guide
|
TIDL Network Kernels.
Data Structures | |
| struct | tivxTIDLJ7Params |
| TIDL params structure. More... | |
Defines | |
| #define | TIVX_KERNEL_TIDL_NAME "com.ti.tidl" |
| tidl kernel name | |
Functions | |
| void | tivxTIDLLoadKernels (vx_context context) |
| Used for the Application to load the tidl kernels into the context. More... | |
| void | tivxTIDLUnLoadKernels (vx_context context) |
| Used for the Application to unload the tidl kernels from the context. | |
| void | tivxRegisterTIDLTargetKernels (void) |
| Function to register TIDL Kernels on the TIDL Target. | |
| void | tivxUnRegisterTIDLTargetKernels (void) |
| Function to un-register TIDL Kernels on the TIDL Target. | |
| void | tivxRegisterTIDLTargetKernelsMpu (void) |
| Function to register TIDL Kernels on the TIDL MPU Target. | |
| void | tivxUnRegisterTIDLTargetKernelsMpu (void) |
| Function to un-register TIDL Kernels on the TIDL MPU Target. | |
| 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... | |
| void tivxTIDLLoadKernels | ( | vx_context | context | ) |
Used for the Application to load the tidl kernels into the context.
End of group_vision_function_tidl
| 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 |