TI中文支持网
TI专业的中文技术问题搜集分享网站

TDA4VM: tivxSetNodeParameterNumBufByIndex

Part Number:TDA4VM

tivxSetNodeParameterNumBufByIndex(obj->tidlObj.node, 4, 2); 在09.01.00.06版本 跑不起来为输入节点,在08.00.04版本跑的没问题

wang.chenxi:

其中的“4”是怎么来的

,

wang.chenxi:

index — 4 or index–7 这些数字的含义哪里定义

,

Shine:

请参考下面的帖子。

The value 4 and 7 represents the node parameter index for the TIDL node.

If you see the node api of TIDL node,

tivxTIDLNode(vx_graph  graph,                                              vx_kernel kernel,                                              vx_reference appParams[],                                              vx_tensor input_tensors[],                                              vx_tensor output_tensors[])

appParams[] consists of  6 parameters (i.e. 0 to 5) , namely config, network, createparams, in_args, out_args and tracedata

input_tensor index is 6 and output tensor index is 7 (assuming there is 1 input tensor and 1 output tensor)

So here 4 is out_args and 7 is output tensor

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/894343/tda4vmxevm-how-to-set-tivxsetnodeparameternumbufbyindex

赞(0)
未经允许不得转载:TI中文支持网 » TDA4VM: tivxSetNodeParameterNumBufByIndex
分享到: 更多 (0)