Lines Matching refs:NN_Tensor
58 | typedef struct NN_Tensor NN_Tensor | Tensor handle, which is used to set the inference input and …
96 …Desc_Create() | Creates an **NN_TensorDesc** instance for creating an **NN_Tensor** instance at a …
113 | NN_Tensor* OH_NNTensor_Create(size_t deviceID, NN_TensorDesc *tensorDesc) | Creates an **NN_Tenso…
114 | NN_Tensor* OH_NNTensor_CreateWithSize(size_t deviceID, NN_TensorDesc *tensorDesc, size_t size) | …
115 | NN_Tensor* OH_NNTensor_CreateWithFd(size_t deviceID, NN_TensorDesc *tensorDesc, int fd, size_t si…
116 | NN_TensorDesc* OH_NNTensor_GetTensorDesc(const NN_Tensor *tensor) | Obtains the pointer to the **…
117 | void* OH_NNTensor_GetDataBuffer(const NN_Tensor *tensor) | Obtains the memory address of tensor d…
118 | OH_NN_ReturnCode OH_NNTensor_GetFd(const NN_Tensor *tensor, int *fd) | Obtains the file descripto…
119 | OH_NN_ReturnCode OH_NNTensor_GetSize(const NN_Tensor *tensor, size_t *size) | Obtains the size of…
120 | OH_NN_ReturnCode OH_NNTensor_GetOffset(const NN_Tensor *tensor, size_t *offset) | Obtains the off…
121 | OH_NN_ReturnCode OH_NNTensor_Destroy(NN_Tensor **tensor) | Destroys an **NN_Tensor** instance.|
131 …dex value. This instance will be used to read tensor attributes or create **NN_Tensor** instances.|
132 …dex value. This instance will be used to read tensor attributes or create **NN_Tensor** instances.|
136 …e OH_NNExecutor_RunSync(OH_NNExecutor *executor, NN_Tensor *inputTensor[], size_t inputCount, NN_T…
137 … OH_NNExecutor_RunAsync(OH_NNExecutor *executor, NN_Tensor *inputTensor[], size_t inputCount, NN_T…
193 OH_NN_ReturnCode SetInputData(NN_Tensor* inputTensor[], size_t inputSize)
233 OH_NN_ReturnCode Print(NN_Tensor* outputTensor[], size_t outputSize)
500 NN_Tensor* inputTensors[inputCount];
501 NN_Tensor* tensor = nullptr;
508 NN_Tensor* outputTensors[outputCount];