Home
last modified time | relevance | path

Searched refs:paramIndices (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/common/
H A Dnnrt_test.cpp98 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 Dnnrt_test.h55 const std::vector<uint32_t>& paramIndices,
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
H A Dnnrt_op_builder.cpp307 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, &paramIndices, &inputIndices, &outputIndices), "adding operation"); in FinalizeAddOperation()
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dinner_model.cpp401 …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 Dinner_model.h44 const OH_NN_UInt32Array& paramIndices,
H A Dneural_network_runtime.cpp233 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 Dneural_network_runtime.h264 const OH_NN_UInt32Array *paramIndices,
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/
H A Dnnrt_implementation.h42 const OH_NN_UInt32Array* paramIndices, const OH_NN_UInt32Array* inputIndices,
/ohos5.0/foundation/ai/neural_network_runtime/
H A Dneural-network-runtime-guidelines.md67 …n(OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UInt32Array *paramIndices, const OH_NN_UI…
378 OH_NN_UInt32Array paramIndices = {&paramIndicesValues, 1 * 4};
383 …returnCode = OH_NNModel_AddOperation(model, OH_NN_OPS_ADD, &paramIndices, &inputIndices, &outputIn…
/ohos5.0/docs/zh-cn/application-dev/ai/nnrt/
H A Dneural-network-runtime-guidelines.md67 …n(OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UInt32Array *paramIndices, const OH_NN_UI…
369 OH_NN_UInt32Array paramIndices = {&paramIndicesValues, 1};
374 …returnCode = OH_NNModel_AddOperation(model, OH_NN_OPS_ADD, &paramIndices, &inputIndices, &outputIn…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/
H A Dneural__network__runtime_8h.md38 …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.md139 …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.md139 …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 Dneural__network__runtime_8h.md38 …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.md139 …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 Dcompilation_test.cpp73 OH_NN_UInt32Array paramIndices = {&paramIndicesValues, 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 Dcompilation_test.cpp73 OH_NN_UInt32Array paramIndices = {&paramIndicesValues, 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 Dnn_compiler_test.cpp164 OH_NN_UInt32Array paramIndices = {&paramIndicesValues, 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 Dneural-network-runtime-guidelines.md67 …n(OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UInt32Array *paramIndices, const OH_NN_UI…
369 OH_NN_UInt32Array paramIndices = {&paramIndicesValues, 1};
374 …returnCode = OH_NNModel_AddOperation(model, OH_NN_OPS_ADD, &paramIndices, &inputIndices, &outputIn…
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp148 OH_NN_UInt32Array paramIndices = {&paramIndicesValues, 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 Dneural_network_core_test.cpp78 OH_NN_UInt32Array paramIndices = {&paramIndicesValues, 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 Dneural_network_runtime_test.cpp149 OH_NN_UInt32Array paramIndices = {&paramIndicesValues, 1}; in BuildModel() local
154 ret = model.AddOperation(OH_NN_OPS_ADD, paramIndices, inputIndices, outputIndices); in BuildModel()