Home
last modified time | relevance | path

Searched refs:ActType_Relu (Results 1 – 25 of 54) sorted by relevance

123

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dl2_norm_fp32.c32 bool is_relu = param->act_type_ == ActType_Relu; in ThreadDivSqrtSum()
53 bool is_relu = param->act_type_ == ActType_Relu; in ThreadTrailingAxis()
Dmatmul_fp32.c885 if (act_type == ActType_Relu || act_type == ActType_Relu6) value = MSMAX(0.0f, value); in MatVecMulFp32()
944 if (act_type == ActType_Relu) { in MatVecMulFp32Neon64()
954 if (act_type == ActType_Relu) { in MatVecMulFp32Neon64()
963 if (act_type == ActType_Relu) { in MatVecMulFp32Neon64()
973 if (act_type == ActType_Relu) { in MatVecMulFp32Neon64()
1080 if (act_type == ActType_Relu || act_type == ActType_Relu6) { in MatVecMulAvxFp32()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dconv2d_tests.cc67 …TestMain_Conv2D(attr, input_data, weight_data, bias_data, output_data_relu, ActType_Relu, false, 1… in TEST_F()
68 …TestMain_Conv2D(attr, input_data, weight_data, bias_data, output_data_relu, ActType_Relu, true, 1e… in TEST_F()
234 ActType_Relu}, in TEST_F()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/fp32/
Dconvolution_winograd_fp32_coder.cc190 if (act_type == ActType_Relu) { in GetOutputTransFunc()
198 if (act_type == ActType_Relu) { in GetOutputTransFunc()
206 if (act_type == ActType_Relu) { in GetOutputTransFunc()
Dpooling_fp32_coder.cc56 case ActType_Relu: { in DoCode()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/
Ddeconvolution_fp32_tests.cc114 PostConvFuncFp32C8(in, out, bias, 1, 8, 1, ActType_Relu); in TEST_F()
140 PostConvFuncFp32C8(in, out, bias, 1, 8, 2, ActType_Relu); in TEST_F()
181 PostConvFuncFp32C8(in, out, bias, 2, 8, 4, ActType_Relu); in TEST_F()
214 PostConvFuncFp32C8(in, out, bias, 5, 8, 5, ActType_Relu); in TEST_F()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/
Dpooling2d.cc49 if (parameter_->act_type_ != ActType_No && parameter_->act_type_ != ActType_Relu) { in CheckSpecs()
73 case ActType_Relu: in BuildKernel()
/third_party/mindspore/mindspore/lite/src/ops/populate/
Dfull_connection_populate.cc43 param->act_type_ = ActType_Relu; in PopulateFullconnectionParameter()
Dl2_norm_populate.cc61 param->act_type_ = ActType_Relu; in PopulateL2NormParameter()
Dadder_populate.cc71 param->act_type_ = ActType_Relu; in PopulateAdderParameter()
Dconv2d_populate.cc98 param->act_type_ = ActType_Relu; in PopulateConvParameter()
Ddeconv2d_populate.cc111 param->act_type_ = ActType_Relu; in PopulateDeconvParameter()
/third_party/mindspore/mindspore/lite/src/ops/populate/v0/
Dfull_connection_populate_v0.cc43 matmul_param->act_type_ = ActType_Relu; in PopulateFullconnectionParameter()
Dl2_norm_populate_v0.cc62 l2_norm_parameter->act_type_ = ActType_Relu; in PopulateL2NormParameter()
Ddeconv2d_populate_v0.cc55 conv_param->act_type_ = ActType_Relu; in PopulateDeconvParameter()
Ddedepthwise_conv2d_populate_v0.cc54 conv_param->act_type_ = ActType_Relu; in PopulateDeconvDwParameter()
Ddepthwise_conv2d_populate_v0.cc69 conv_param->act_type_ = ActType_Relu; in PopulateConvDwParameter()
Dconv2d_populate_v0.cc71 conv_param->act_type_ = ActType_Relu; in PopulateConvParameter()
Dpooling_populate_v0.cc81 pooling_param->act_type_ = ActType_Relu; in PopulatePoolingParameter()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/cmsis-nn/int8/
Dfullconnection_int8_coder.cc64 …CalculateActivationRangeQuantized(fc_param_->act_type_ == ActType_Relu, fc_param_->act_type_ == Ac… in SetParameters()
Dpooling_int8_coder.cc97 CalculateActivationRangeQuantized(pooling_parameter_->act_type_ == ActType_Relu, in SetParameters()
Ddwconv_int8_coder.cc132 …CalculateActivationRangeQuantized(conv_param_->act_type_ == ActType_Relu, conv_param_->act_type_ =… in SetParameters()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dpooling_fp32.cc60 if (pooling_param_->act_type_ == ActType_Relu) { in RunImpl()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Dpooling_fp16.cc57 if (pooling_param_->act_type_ == ActType_Relu) { in RunImpl()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dcommon_func_fp16.c34 … value = (act_type == ActType_Relu || act_type == ActType_Relu6) ? (MSMAX(0.f, value)) : (value); in PostConvFuncCommFp16()

123