/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_op_builder.h | 140 m_nnrt->OH_NNModel_SetTensorData(m_nnModel, nnIndex, &value, sizeof(value)), in AddScalarTensor() 178 … m_nnrt->OH_NNModel_SetTensorData(m_nnModel, nnIndex, values, sizeof(*(values)) * numValues), in AddVectorTensor()
|
H A D | nnrt_op_builder.cpp | 387 nnRet = m_nnrt->OH_NNModel_SetTensorData(m_nnModel, nnTensorIndex, in AddTensor()
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_runtime.h | 201 OH_NN_ReturnCode OH_NNModel_SetTensorData(OH_NNModel *model, uint32_t index, const void *dataBuffer…
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/ |
H A D | nnrt_implementation.cpp | 65 LoadFunction(libNeuralNetworks, "OH_NNModel_SetTensorData", &nnrt.OH_NNModel_SetTensorData); in LoadNnrt()
|
H A D | nnrt_implementation.h | 39 …OH_NN_ReturnCode (*OH_NNModel_SetTensorData)(OH_NNModel* model, uint32_t index, const void* buffer, member
|
/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/common/ |
H A D | nnrt_test.cpp | 84 status = OH_NNModel_SetTensorData(m_model, index, cppTensor.data, cppTensor.dataLength); in AddTensors()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime_8h.md | 35 | [OH_NN_ReturnCode](_neural_network_runtime.md#oh_nn_returncode)[OH_NNModel_SetTensorData](_neural…
|
H A D | _neural_network_runtime.md | 136 | [OH_NN_ReturnCode](#oh_nn_returncode)[OH_NNModel_SetTensorData](#oh_nnmodel_settensordata) ([OH_N… 2084 …子参数均由模型的张量构成,该接口根据tensor,向model实 例中添加张量。张量添加的顺序由模型中记录张量的索引值来确定,[OH_NNModel_SetTensorData](#oh_nnmo… 2112 …_TensorDesc](#nn_tensordesc)向model实 例中添加张量,张量添加的顺序是模型中记录张量的索引值。[OH_NNModel_SetTensorData](#oh_nnmo… 2140 …rtomodel)、[OH_NNModel_AddOperation](#oh_nnmodel_addoperation)和 [OH_NNModel_SetTensorData](#oh_nnmo… 2184 …rtomodel)、[OH_NNModel_AddOperation](#oh_nnmodel_addoperation)、 [OH_NNModel_SetTensorData](#oh_nnmo… 2231 ### OH_NNModel_SetTensorData() 2234 OH_NN_ReturnCode OH_NNModel_SetTensorData (OH_NNModel *model, uint32_t index, const void *dataBuffe… 2319 模型实例需要指定张量作为端到端的输入和输出张量。注意设置一个张量为输入或输出张量后,就不能再通过调用[OH_NNModel_SetTensorData](#oh_nnmodel_settensord…
|
H A D | _neural_nework_runtime.md | 136 | [OH_NN_ReturnCode](#oh_nn_returncode)[OH_NNModel_SetTensorData](#oh_nnmodel_settensordata) ([OH_N… 2084 …子参数均由模型的张量构成,该接口根据tensor,向model实 例中添加张量。张量添加的顺序由模型中记录张量的索引值来确定,[OH_NNModel_SetTensorData](#oh_nnmo… 2112 …_TensorDesc](#nn_tensordesc)向model实 例中添加张量,张量添加的顺序是模型中记录张量的索引值。[OH_NNModel_SetTensorData](#oh_nnmo… 2140 …rtomodel)、[OH_NNModel_AddOperation](#oh_nnmodel_addoperation)和 [OH_NNModel_SetTensorData](#oh_nnmo… 2184 …rtomodel)、[OH_NNModel_AddOperation](#oh_nnmodel_addoperation)、 [OH_NNModel_SetTensorData](#oh_nnmo… 2231 ### OH_NNModel_SetTensorData() 2234 OH_NN_ReturnCode OH_NNModel_SetTensorData (OH_NNModel *model, uint32_t index, const void *dataBuffe… 2319 模型实例需要指定张量作为端到端的输入和输出张量。注意设置一个张量为输入或输出张量后,就不能再通过调用[OH_NNModel_SetTensorData](#oh_nnmodel_settensord…
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 444 …OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activatio… 462 OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, nullptr, sizeof(int8_t)); 480 …OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activatio… 498 …OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activatio…
|
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime_8h.md | 35 | [OH_NN_ReturnCode](_neural_network_runtime.md#oh_nn_returncode)[OH_NNModel_SetTensorData](_neural…
|
H A D | _neural_network_runtime.md | 136 | [OH_NN_ReturnCode](#oh_nn_returncode)[OH_NNModel_SetTensorData](#oh_nnmodel_settensordata) ([OH_N… 2084 …ors is specified by the index value recorded in the model. The [OH_NNModel_SetTensorData](#oh_nnmo… 2112 …ors is specified by the index value recorded in the model. The [OH_NNModel_SetTensorData](#oh_nnmo… 2140 …del), [OH_NNModel_AddOperation](#oh_nnmodel_addoperation), and [OH_NNModel_SetTensorData](#oh_nnmo… 2184 …tomodel), [OH_NNModel_AddOperation](#oh_nnmodel_addoperation), [OH_NNModel_SetTensorData](#oh_nnmo… 2231 ### OH_NNModel_SetTensorData() 2234 OH_NN_ReturnCode OH_NNModel_SetTensorData (OH_NNModel *model, uint32_t index, const void *dataBuffe… 2319 … tensor, you are not allowed to set the tensor data by calling [OH_NNModel_SetTensorData](#oh_nnmo…
|
/ohos5.0/foundation/ai/neural_network_runtime/ |
H A D | neural-network-runtime-guidelines.md | 66 | OH_NN_ReturnCode OH_NNModel_SetTensorData(OH_NNModel *model, uint32_t index, const void *dataBuff… 352 returnCode = OH_NNModel_SetTensorData(model, 2, &activationValue, sizeof(int8_t));
|
/ohos5.0/docs/zh-cn/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 66 | OH_NN_ReturnCode OH_NNModel_SetTensorData(OH_NNModel *model, uint32_t index, const void *dataBuff… 343 returnCode = OH_NNModel_SetTensorData(model, 2, &activationValue, sizeof(int8_t));
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | neural_network_runtime.cpp | 261 NNRT_API OH_NN_ReturnCode OH_NNModel_SetTensorData(OH_NNModel *model, in OH_NNModel_SetTensorData() function
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 497 …OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activatio… 515 OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, nullptr, sizeof(int8_t)); 533 …OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activatio… 551 …OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activatio…
|
/ohos5.0/docs/en/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 66 | OH_NN_ReturnCode OH_NNModel_SetTensorData(OH_NNModel *model, uint32_t index, const void *dataBuff… 343 returnCode = OH_NNModel_SetTensorData(model, 2, &activationValue, sizeof(int8_t));
|