/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/ |
H A D | nn_validation_test.cpp | 147 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 D | nn_validation_test.cpp | 159 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 D | div_builder.cpp | 54 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*fuseDat… in SetActicationType() 58 auto fuseType = (OH_NN_FuseType)(*fuseData); in SetActicationType()
|
H A D | mul_builder.cpp | 55 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*fuseDat… in SetActivationType() 60 auto fuseType = (OH_NN_FuseType)(*fuseData); in SetActivationType()
|
H A D | sub_builder.cpp | 51 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*fuseDat… in SetActivationType() 56 auto fuseType = (OH_NN_FuseType)(*fuseData); in SetActivationType()
|
H A D | add_builder.cpp | 48 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 D | scale_builder.cpp | 78 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*fuseDat… in SetActivationType() 83 auto fuseType = (OH_NN_FuseType)(*fuseData); in SetActivationType()
|
H A D | l2_normalize_builder.cpp | 102 …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 D | matmul_builder.cpp | 101 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*fuseDat… in SetActivationType() 106 auto fuseType = (OH_NN_FuseType)(*fuseData); in SetActivationType()
|
H A D | fullconnection_builder.cpp | 129 …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 D | pooling_builder.cpp | 237 …if (!OHOS::NeuralNetworkRuntime::Validation::ValidateFuseType(static_cast<OH_NN_FuseType>(*pFuseDa… in SetActivation() 241 auto fuseType = (OH_NN_FuseType)(*pFuseData); in SetActivation()
|
H A D | depthwise_conv2d_native_builder.cpp | 78 …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 D | conv2d_builder.cpp | 217 …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 D | conv2d_transpose_builder.cpp | 231 …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.md | 48 | 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.md | 48 | 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__network__runtime__type_8h.md | 47 | 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 D | validation.h | 41 bool ValidateFuseType(OH_NN_FuseType fuseType);
|
H A D | validation.cpp | 53 bool ValidateFuseType(OH_NN_FuseType fuseType) in ValidateFuseType()
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | transform.h | 43 mindspore::lite::ActivationType TransfromFusionType(OH_NN_FuseType type);
|
H A D | transform.cpp | 96 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 D | transform_test.cpp | 292 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 D | transform_test.cpp | 292 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 D | neural__network__runtime__type_8h.md | 47 | 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 D | neural_network_runtime_type.h | 246 } OH_NN_FuseType; typedef
|