67 #include <VX/vx_kernels.h> 75 #define TIVX_TIDL_J7_CHECKSUM_SIZE (64) 80 #define TIVX_KERNEL_TIDL_IN_CONFIG_IDX (0U) 81 #define TIVX_KERNEL_TIDL_IN_NETWORK_IDX (1U) 82 #define TIVX_KERNEL_TIDL_IN_CREATE_PARAMS_IDX (2U) 83 #define TIVX_KERNEL_TIDL_IN_IN_ARGS_IDX (3U) 84 #define TIVX_KERNEL_TIDL_IN_OUT_ARGS_IDX (4U) 85 #define TIVX_KERNEL_TIDL_IN_TRACE_DATA_IDX (5U) 86 #define TIVX_KERNEL_TIDL_IN_FIRST_TENSOR (6U) 87 #define TIVX_KERNEL_TIDL_NUM_BASE_PARAMETERS (6U) 88 #define TIVX_KERNEL_TIDL_NUM_MIN_PARAMETERS (TIVX_KERNEL_TIDL_NUM_BASE_PARAMETERS + 2) 90 #define MAX_TENSOR_DIMS (4u) 91 #define TIDL_MAX_PARAMS (16u) //PC-- need it? 99 vx_uint8 config_checksum[TIVX_TIDL_J7_CHECKSUM_SIZE];
102 vx_uint8 network_checksum[TIVX_TIDL_J7_CHECKSUM_SIZE];
124 memset(&tidlParams->
config_checksum[0], 0, TIVX_TIDL_J7_CHECKSUM_SIZE);
131 memset(&tidlParams->
ioBufDesc, 0,
sizeof(sTIDL_IOBufDesc_t));
183 uint32_t num_input_tensors,
184 uint32_t num_output_tensors);
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.
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.
static void tivx_tidl_j7_params_init(tivxTIDLJ7Params *tidlParams)
TIDL params initialization.
Interface to Tensor APIs (modeled after OpenVX 1.2 tensor support)
vx_uint32 optimize_ivision_activation
vx_uint32 compute_config_checksum
struct _vx_context * vx_context
struct _vx_reference * vx_reference
sTIDL_IOBufDesc_t ioBufDesc
struct _vx_kernel * vx_kernel
vx_uint8 network_checksum[TIVX_TIDL_J7_CHECKSUM_SIZE]
struct _vx_graph * vx_graph
vx_uint8 config_checksum[TIVX_TIDL_J7_CHECKSUM_SIZE]
struct _vx_node * vx_node
struct _vx_tensor * vx_tensor
The multidimensional data object (Tensor).
vx_status(* VX_API_CALL)(vx_reference *ref)
Callback type used to register release callbacks from object dervied from references.
vx_uint32 compute_network_checksum