/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/common/ |
H A D | nnrt_test.cpp | 98 const std::vector<uint32_t>& paramIndices, in AddOperation() argument 102 const OH_NN_UInt32Array params = TransformUInt32Array(paramIndices); in AddOperation() 112 .params = paramIndices in AddOperation()
|
H A D | nnrt_test.h | 55 const std::vector<uint32_t>& paramIndices,
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_op_builder.cpp | 307 OH_NN_UInt32Array paramIndices; in FinalizeAddOperation() local 312 paramIndices.size = static_cast<uint32_t>(m_augmentedParams.size()); in FinalizeAddOperation() 314 paramIndices.data = (m_augmentedParams.size() == 0) ? nullptr : m_augmentedParams.data(); in FinalizeAddOperation() 317 type, ¶mIndices, &inputIndices, &outputIndices), "adding operation"); in FinalizeAddOperation()
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | inner_model.cpp | 401 …urnCode InnerModel::AddOperation(OH_NN_OperationType opType, const OH_NN_UInt32Array& paramIndices, in AddOperation() argument 417 ret = ValidateTensorArray(paramIndices); in AddOperation() 422 … std::vector<uint32_t> parameters = ConstructVectorFromArray(paramIndices.data, paramIndices.size); in AddOperation()
|
H A D | inner_model.h | 44 const OH_NN_UInt32Array& paramIndices,
|
H A D | neural_network_runtime.cpp | 233 const OH_NN_UInt32Array *paramIndices, in OH_NNModel_AddOperation() argument 242 if (paramIndices == nullptr) { in OH_NNModel_AddOperation() 258 return innerModel->AddOperation(op, *paramIndices, *inputIndices, *outputIndices); in OH_NNModel_AddOperation()
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_runtime.h | 264 const OH_NN_UInt32Array *paramIndices,
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/ |
H A D | nnrt_implementation.h | 42 const OH_NN_UInt32Array* paramIndices, const OH_NN_UInt32Array* inputIndices,
|
/ohos5.0/foundation/ai/neural_network_runtime/ |
H A D | neural-network-runtime-guidelines.md | 67 …n(OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UInt32Array *paramIndices, const OH_NN_UI… 378 OH_NN_UInt32Array paramIndices = {¶mIndicesValues, 1 * 4}; 383 …returnCode = OH_NNModel_AddOperation(model, OH_NN_OPS_ADD, ¶mIndices, &inputIndices, &outputIn…
|
/ohos5.0/docs/zh-cn/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 67 …n(OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UInt32Array *paramIndices, const OH_NN_UI… 369 OH_NN_UInt32Array paramIndices = {¶mIndicesValues, 1}; 374 …returnCode = OH_NNModel_AddOperation(model, OH_NN_OPS_ADD, ¶mIndices, &inputIndices, &outputIn…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime_8h.md | 38 …ntype) op, const [OH_NN_UInt32Array](_o_h___n_n___u_int32_array.md) \*paramIndices, const [OH_NN_U…
|
H A D | _neural_network_runtime.md | 139 …ntype) op, const [OH_NN_UInt32Array](_o_h___n_n___u_int32_array.md) \*paramIndices, const [OH_NN_U… 2044 … (OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UInt32Array *paramIndices, const OH_NN_UI… 2051 该接口向模型实例中添加算子,算子类型由op指定,算子的参数、输入和输出由paramIndices、inputIndices和 outputIndices指定。该接口将对算子参数的属性和输入、输出张量… 2053 paramIndices、inputIndices和outputIndices中存储的是张量的索引值,每个索引值根据张量添加进模型的顺序决定,正确 设置并添加算子要求准确设置每个张量的索引值。张量的… 2065 | paramIndices | OH_NN_UInt32Array实例的指针,设置算子的参数张量索引。 |
|
H A D | _neural_nework_runtime.md | 139 …ntype) op, const [OH_NN_UInt32Array](_o_h___n_n___u_int32_array.md) \*paramIndices, const [OH_NN_U… 2044 … (OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UInt32Array *paramIndices, const OH_NN_UI… 2051 该接口向模型实例中添加算子,算子类型由op指定,算子的参数、输入和输出由paramIndices、inputIndices和 outputIndices指定。该接口将对算子参数的属性和输入、输出张量… 2053 paramIndices、inputIndices和outputIndices中存储的是张量的索引值,每个索引值根据张量添加进模型的顺序决定,正确 设置并添加算子要求准确设置每个张量的索引值。张量的… 2065 | paramIndices | OH_NN_UInt32Array实例的指针,设置算子的参数张量索引。 |
|
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime_8h.md | 38 …ntype) op, const [OH_NN_UInt32Array](_o_h___n_n___u_int32_array.md) \*paramIndices, const [OH_NN_U…
|
H A D | _neural_network_runtime.md | 139 …ntype) op, const [OH_NN_UInt32Array](_o_h___n_n___u_int32_array.md) \*paramIndices, const [OH_NN_U… 2044 … (OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UInt32Array *paramIndices, const OH_NN_UI… 2051 …, and the operator parameters, inputs, and outputs are specified by **paramIndices**, **inputIndic… 2053 **paramIndices**, **inputIndices**, and **outputIndices** store index values of tensors. Index valu… 2065 | paramIndices | Pointer to the **OH_NN_UInt32Array** instance, which is used to set the parameter …
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/compilation/ |
H A D | compilation_test.cpp | 73 OH_NN_UInt32Array paramIndices = {¶mIndicesValues, 1}; in BuildModel() local 78 ret = innerModel.AddOperation(OH_NN_OPS_ADD, paramIndices, inputIndices, outputIndices); in BuildModel()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/compilation/ |
H A D | compilation_test.cpp | 73 OH_NN_UInt32Array paramIndices = {¶mIndicesValues, 1}; in BuildModel() local 78 ret = innerModel.AddOperation(OH_NN_OPS_ADD, paramIndices, inputIndices, outputIndices); in BuildModel()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiler/ |
H A D | nn_compiler_test.cpp | 164 OH_NN_UInt32Array paramIndices = {¶mIndicesValues, 1}; in BuildModel() local 169 ret = innerModel.AddOperation(OH_NN_OPS_ADD, paramIndices, inputIndices, outputIndices); in BuildModel()
|
/ohos5.0/docs/en/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 67 …n(OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UInt32Array *paramIndices, const OH_NN_UI… 369 OH_NN_UInt32Array paramIndices = {¶mIndicesValues, 1}; 374 …returnCode = OH_NNModel_AddOperation(model, OH_NN_OPS_ADD, ¶mIndices, &inputIndices, &outputIn…
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 148 OH_NN_UInt32Array paramIndices = {¶mIndicesValues, 1}; in BuildModel() local 153 ret = model.AddOperation(OH_NN_OPS_ADD, paramIndices, inputIndices, outputIndices); in BuildModel()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.cpp | 78 OH_NN_UInt32Array paramIndices = {¶mIndicesValues, 1}; in BuildModel() local 83 ret = model.AddOperation(OH_NN_OPS_ADD, paramIndices, inputIndices, outputIndices); in BuildModel()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 149 OH_NN_UInt32Array paramIndices = {¶mIndicesValues, 1}; in BuildModel() local 154 ret = model.AddOperation(OH_NN_OPS_ADD, paramIndices, inputIndices, outputIndices); in BuildModel()
|