Home
last modified time | relevance | path

Searched refs:OH_NN_OperationType (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/
H A Dops_registry_test.cpp42 REGISTER_OPS(AddBuilder, OH_NN_OperationType(newRegistryOperationType));
45 EXPECT_NE(nullptr, opsregistry.GetOpsBuilder(OH_NN_OperationType(newRegistryOperationType)));
56 REGISTER_OPS(AddBuilder, OH_NN_OperationType(newRegistryOperationType));
59 EXPECT_NE(nullptr, opsregistry.GetOpsBuilder(OH_NN_OperationType(newRegistryOperationType)));
61 REGISTER_OPS(DivBuilder, OH_NN_OperationType(newRegistryOperationType));
H A Dinner_model_test.cpp55 OH_NN_OperationType m_opType {OH_NN_OPS_ADD};
532 OH_NN_OperationType m_opType = OH_NN_OPS_ADD;
584 m_opType = OH_NN_OperationType(99);
823 OH_NN_OperationType m_opType = OH_NN_OPS_DIV;
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/
H A Dops_registry_test.cpp42 REGISTER_OPS(AddBuilder, OH_NN_OperationType(newRegistryOperationType));
45 EXPECT_NE(nullptr, opsregistry.GetOpsBuilder(OH_NN_OperationType(newRegistryOperationType)));
56 REGISTER_OPS(AddBuilder, OH_NN_OperationType(newRegistryOperationType));
59 EXPECT_NE(nullptr, opsregistry.GetOpsBuilder(OH_NN_OperationType(newRegistryOperationType)));
61 REGISTER_OPS(DivBuilder, OH_NN_OperationType(newRegistryOperationType));
H A Dinner_model_test.cpp55 OH_NN_OperationType m_opType {OH_NN_OPS_ADD};
472 OH_NN_OperationType m_opType = OH_NN_OPS_ADD;
524 m_opType = OH_NN_OperationType(99);
763 OH_NN_OperationType m_opType = OH_NN_OPS_DIV;
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dops_registry.h33 … Registrar(OH_NN_OperationType opsType, std::function<std::unique_ptr<OpsBuilder>()> createFunc);
38 std::unique_ptr<OpsBuilder> GetOpsBuilder(OH_NN_OperationType type) const;
46 …std::unordered_map<OH_NN_OperationType, std::function<std::unique_ptr<OpsBuilder>()>> m_opsRegedit;
H A Dops_registry.cpp21 OpsRegistry::Registrar::Registrar(OH_NN_OperationType opsType, std::function<std::unique_ptr<OpsBui… in Registrar()
37 std::unique_ptr<OpsBuilder> OpsRegistry::GetOpsBuilder(OH_NN_OperationType type) const in GetOpsBuilder()
H A Dinner_model.h43 OH_NN_ReturnCode AddOperation(OH_NN_OperationType opType,
H A Dinner_model.cpp401 OH_NN_ReturnCode InnerModel::AddOperation(OH_NN_OperationType opType, const OH_NN_UInt32Array& para… in AddOperation()
H A Dneural_network_runtime.cpp232 OH_NN_OperationType op, in OH_NNModel_AddOperation()
/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/common/
H A Dnnrt_test.h45 OH_NN_OperationType opType;
54 virtual OH_NN_ReturnCode AddOperation(OH_NN_OperationType opType,
H A Dnnrt_test.cpp97 OH_NN_ReturnCode NNRtTest::AddOperation(OH_NN_OperationType opType, in AddOperation()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/
H A Dneural__network__runtime__type_8h.md51 | typedef enum [OH_NN_OperationType](_neural_network_runtime.md#oh_nn_operationtype) [OH_NN_Operat…
70 | [OH_NN_OperationType](_neural_network_runtime.md#oh_nn_operationtype) {<br/>OH_NN_OPS_ADD = 1, OH…
H A D_neural_network_runtime.md52 | typedef enum [OH_NN_OperationType](#oh_nn_operationtype) [OH_NN_OperationType](#oh_nn_operationt…
71 | [OH_NN_OperationType](#oh_nn_operationtype) {<br/>OH_NN_OPS_ADD = 1, OH_NN_OPS_AVG_POOL = 2, OH_N…
139 …on](#oh_nnmodel_addoperation) ([OH_NNModel](#oh_nnmodel) \*model, [OH_NN_OperationType](#oh_nn_ope…
310 ### OH_NN_OperationType subsection
313 typedef enum OH_NN_OperationType OH_NN_OperationType
562 ### OH_NN_OperationType subsection
565 enum OH_NN_OperationType
2044 OH_NN_ReturnCode OH_NNModel_AddOperation (OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UI…
2051 …odel](#oh_nnmodel_addtensortomodel)添加张量时正确设置。每个算子期望的参数、输入和输出属性请参考 [OH_NN_OperationType](#oh_nn_ope…
2055 …参数),该接口返回OH_NN_INVALID_PARAMETER;如果没有设置算子参数, 则算子按默认值设置缺省的参数,默认值请参考[OH_NN_OperationType](#oh_nn_ope…
[all …]
H A D_neural_nework_runtime.md52 | typedef enum [OH_NN_OperationType](#oh_nn_operationtype) [OH_NN_OperationType](#oh_nn_operationt…
71 | [OH_NN_OperationType](#oh_nn_operationtype) {<br/>OH_NN_OPS_ADD = 1, OH_NN_OPS_AVG_POOL = 2, OH_N…
139 …on](#oh_nnmodel_addoperation) ([OH_NNModel](#oh_nnmodel) \*model, [OH_NN_OperationType](#oh_nn_ope…
310 ### OH_NN_OperationType subsection
313 typedef enum OH_NN_OperationType OH_NN_OperationType
562 ### OH_NN_OperationType subsection
565 enum OH_NN_OperationType
2044 OH_NN_ReturnCode OH_NNModel_AddOperation (OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UI…
2051 …odel](#oh_nnmodel_addtensortomodel)添加张量时正确设置。每个算子期望的参数、输入和输出属性请参考 [OH_NN_OperationType](#oh_nn_ope…
2055 …参数),该接口返回OH_NN_INVALID_PARAMETER;如果没有设置算子参数, 则算子按默认值设置缺省的参数,默认值请参考[OH_NN_OperationType](#oh_nn_ope…
[all …]
H A Dneural__network__runtime_8h.md38 …on) ([OH_NNModel](_neural_network_runtime.md#oh_nnmodel) \*model, [OH_NN_OperationType](_neural_ne…
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/
H A Dneural__network__runtime__type_8h.md51 | typedef enum [OH_NN_OperationType](_neural_network_runtime.md#oh_nn_operationtype) [OH_NN_Operat…
70 | [OH_NN_OperationType](_neural_network_runtime.md#oh_nn_operationtype) {<br>OH_NN_OPS_ADD = 1, OH_…
H A Dneural__network__runtime_8h.md38 …on) ([OH_NNModel](_neural_network_runtime.md#oh_nnmodel) \*model, [OH_NN_OperationType](_neural_ne…
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/
H A Dneural_network_runtime.h263 OH_NN_OperationType op,
H A Dneural_network_runtime_type.h2785 } OH_NN_OperationType; typedef
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/
H A Dnnrt_implementation.h41 OH_NN_ReturnCode (*OH_NNModel_AddOperation)(OH_NNModel* model, OH_NN_OperationType op,
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp214 OH_NN_OperationType opType {OH_NN_OPS_ADD}; in SetInnerBuild()
312 OH_NN_OperationType opType {OH_NN_OPS_ADD};
335 OH_NN_OperationType opType {OH_NN_OPS_ADD};
362 OH_NN_OperationType opType {OH_NN_OPS_ADD};
389 OH_NN_OperationType opType {OH_NN_OPS_ADD};
416 OH_NN_OperationType opType {OH_NN_OPS_ADD};
581 OH_NN_OperationType opType {OH_NN_OPS_ADD};
608 OH_NN_OperationType opType {OH_NN_OPS_ADD};
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
H A Dnnrt_op_builder.h110 TfLiteStatus FinalizeAddOperation(OH_NN_OperationType type, int32_t liteNodeIndex);
H A Dnnrt_delegate_kernel.cpp283 …TF_LITE_ENSURE_STATUS(builder.FinalizeAddOperation(static_cast<OH_NN_OperationType>(nnOpType), nod… in AddOpsAndTensors()
H A Dnnrt_op_builder.cpp302 TfLiteStatus NnrtOpBuilder::FinalizeAddOperation(OH_NN_OperationType type, int32_t liteNodeIndex) in FinalizeAddOperation()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp215 OH_NN_OperationType opType {OH_NN_OPS_ADD}; in SetInnerBuild()
365 OH_NN_OperationType opType {OH_NN_OPS_ADD};
388 OH_NN_OperationType opType {OH_NN_OPS_ADD};
415 OH_NN_OperationType opType {OH_NN_OPS_ADD};
442 OH_NN_OperationType opType {OH_NN_OPS_ADD};
469 OH_NN_OperationType opType {OH_NN_OPS_ADD};
634 OH_NN_OperationType opType {OH_NN_OPS_ADD};
661 OH_NN_OperationType opType {OH_NN_OPS_ADD};

12