Home
last modified time | relevance | path

Searched refs:OH_NN_FuseType (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/
H A Dnn_validation_test.cpp147 OH_NN_FuseType fuseType = (OH_NN_FuseType)fuseTypeTest;
159 OH_NN_FuseType fuseType = (OH_NN_FuseType)fuseTypeTest;
171 OH_NN_FuseType fuseType = (OH_NN_FuseType)fuseTypeTest;
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/
H A Dnn_validation_test.cpp159 OH_NN_FuseType fuseType = (OH_NN_FuseType)fuseTypeTest;
171 OH_NN_FuseType fuseType = (OH_NN_FuseType)fuseTypeTest;
183 OH_NN_FuseType fuseType = (OH_NN_FuseType)fuseTypeTest;
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/
H A Ddiv_builder.cpp54 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*fuseDat… in SetActicationType()
58 auto fuseType = (OH_NN_FuseType)(*fuseData); in SetActicationType()
H A Dmul_builder.cpp55 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*fuseDat… in SetActivationType()
60 auto fuseType = (OH_NN_FuseType)(*fuseData); in SetActivationType()
H A Dsub_builder.cpp51 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*fuseDat… in SetActivationType()
56 auto fuseType = (OH_NN_FuseType)(*fuseData); in SetActivationType()
H A Dadd_builder.cpp48 if (!Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*fuseData))) { in SetActivation()
52 m_activationType = NNToMS::TransfromFusionType(static_cast<OH_NN_FuseType>(*fuseData)); in SetActivation()
H A Dscale_builder.cpp78 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*fuseDat… in SetActivationType()
83 auto fuseType = (OH_NN_FuseType)(*fuseData); in SetActivationType()
H A Dl2_normalize_builder.cpp102 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*pActiva… in SetActivationType()
106 m_activationType = NNToMS::TransfromFusionType((OH_NN_FuseType)(*pActivationType)); in SetActivationType()
H A Dmatmul_builder.cpp101 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*fuseDat… in SetActivationType()
106 auto fuseType = (OH_NN_FuseType)(*fuseData); in SetActivationType()
H A Dfullconnection_builder.cpp129 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*pFuseDa… in SetFullConnectionActivation()
133 m_activationType = NNToMS::TransfromFusionType((OH_NN_FuseType)(*pFuseData)); in SetFullConnectionActivation()
H A Dpooling_builder.cpp237 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*pFuseDa… in SetActivation()
241 auto fuseType = (OH_NN_FuseType)(*pFuseData); in SetActivation()
H A Ddepthwise_conv2d_native_builder.cpp78 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*pFuseDa… in SetActivation()
82 m_activationType = NNToMS::TransfromFusionType((OH_NN_FuseType)(*pFuseData)); in SetActivation()
H A Dconv2d_builder.cpp217 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*pFuseDa… in SetActavitation()
221 m_activationType = NNToMS::TransfromFusionType((OH_NN_FuseType)(*pFuseData)); in SetActavitation()
H A Dconv2d_transpose_builder.cpp231 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*pFuseDa… in SetActivation()
235 m_activationType = NNToMS::TransfromFusionType((OH_NN_FuseType)(*pFuseData)); in SetActivation()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/
H A D_neural_network_runtime.md48 | typedef enum [OH_NN_FuseType](#oh_nn_fusetype) [OH_NN_FuseType](#oh_nn_fusetype) | Neural Networ…
67 | [OH_NN_FuseType](#oh_nn_fusetype) : int8_t { OH_NN_FUSED_NONE = 0, OH_NN_FUSED_RELU = 1, OH_NN_FU…
284 ### OH_NN_FuseType subsection
287 typedef enum OH_NN_FuseType OH_NN_FuseType
543 ### OH_NN_FuseType subsection
546 enum OH_NN_FuseType : int8_t
576 …个输入的张量,数据类型和形状需要和第一个输入保持一致。<br/>参数:<br/>- activationType,是一个整型常量,且必须是OH_NN_FuseType中含有的值。 在输出之前调用指…
586 …尔值时,第二个输入必须是数据类型为实数/布尔值的张量。<br/>参数:<br/>- activationType,是一个整型常量,且必须是OH_NN_FuseType中含有的值。 在输出之前调用指…
594 …br/>- TransposeY,布尔值,是否对input2进行转置。<br/>- activationType,是一个整型常量,且必须是OH_NN_FuseType中含有的值。 在输出之前调用指…
597 …个n维张量。<br/>- input2,一个n维张量。<br/>参数:<br/>- activationType,是一个整型常量,且必须是OH_NN_FuseType中含有的值。 在输出之前调用指…
[all …]
H A D_neural_nework_runtime.md48 | typedef enum [OH_NN_FuseType](#oh_nn_fusetype) [OH_NN_FuseType](#oh_nn_fusetype) | Neural Networ…
67 | [OH_NN_FuseType](#oh_nn_fusetype) : int8_t { OH_NN_FUSED_NONE = 0, OH_NN_FUSED_RELU = 1, OH_NN_FU…
284 ### OH_NN_FuseType subsection
287 typedef enum OH_NN_FuseType OH_NN_FuseType
543 ### OH_NN_FuseType subsection
546 enum OH_NN_FuseType : int8_t
576 …个输入的张量,数据类型和形状需要和第一个输入保持一致。<br/>参数:<br/>- activationType,是一个整型常量,且必须是OH_NN_FuseType中含有的值。 在输出之前调用指…
586 …尔值时,第二个输入必须是数据类型为实数/布尔值的张量。<br/>参数:<br/>- activationType,是一个整型常量,且必须是OH_NN_FuseType中含有的值。 在输出之前调用指…
594 …br/>- TransposeY,布尔值,是否对input2进行转置。<br/>- activationType,是一个整型常量,且必须是OH_NN_FuseType中含有的值。 在输出之前调用指…
597 …个n维张量。<br/>- input2,一个n维张量。<br/>参数:<br/>- activationType,是一个整型常量,且必须是OH_NN_FuseType中含有的值。 在输出之前调用指…
[all …]
H A Dneural__network__runtime__type_8h.md47 | typedef enum [OH_NN_FuseType](_neural_network_runtime.md#oh_nn_fusetype) [OH_NN_FuseType](_neura…
66 | [OH_NN_FuseType](_neural_network_runtime.md#oh_nn_fusetype) : int8_t { OH_NN_FUSED_NONE = 0, OH_N…
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dvalidation.h41 bool ValidateFuseType(OH_NN_FuseType fuseType);
H A Dvalidation.cpp53 bool ValidateFuseType(OH_NN_FuseType fuseType) in ValidateFuseType()
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dtransform.h43 mindspore::lite::ActivationType TransfromFusionType(OH_NN_FuseType type);
H A Dtransform.cpp96 mindspore::lite::ActivationType NNToMS::TransfromFusionType(OH_NN_FuseType type) in TransfromFusionType()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/transform/
H A Dtransform_test.cpp292 OH_NN_FuseType type = OH_NN_FUSED_NONE;
304 OH_NN_FuseType type = OH_NN_FUSED_RELU;
316 OH_NN_FuseType type = OH_NN_FUSED_RELU6;
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/transform/
H A Dtransform_test.cpp292 OH_NN_FuseType type = OH_NN_FUSED_NONE;
304 OH_NN_FuseType type = OH_NN_FUSED_RELU;
316 OH_NN_FuseType type = OH_NN_FUSED_RELU6;
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/
H A Dneural__network__runtime__type_8h.md47 | typedef enum [OH_NN_FuseType](_neural_network_runtime.md#oh_nn_fusetype) [OH_NN_FuseType](_neura…
66 | [OH_NN_FuseType](_neural_network_runtime.md#oh_nn_fusetype) : int8_t { OH_NN_FUSED_NONE = 0, OH_N…
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/
H A Dneural_network_runtime_type.h246 } OH_NN_FuseType; typedef

12