/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | l2_norm_fp32.c | 32 bool is_relu = param->act_type_ == ActType_Relu; in ThreadDivSqrtSum() 53 bool is_relu = param->act_type_ == ActType_Relu; in ThreadTrailingAxis()
|
D | matmul_fp32.c | 885 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/ |
D | conv2d_tests.cc | 67 …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/ |
D | convolution_winograd_fp32_coder.cc | 190 if (act_type == ActType_Relu) { in GetOutputTransFunc() 198 if (act_type == ActType_Relu) { in GetOutputTransFunc() 206 if (act_type == ActType_Relu) { in GetOutputTransFunc()
|
D | pooling_fp32_coder.cc | 56 case ActType_Relu: { in DoCode()
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/ |
D | deconvolution_fp32_tests.cc | 114 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/ |
D | pooling2d.cc | 49 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/ |
D | full_connection_populate.cc | 43 param->act_type_ = ActType_Relu; in PopulateFullconnectionParameter()
|
D | l2_norm_populate.cc | 61 param->act_type_ = ActType_Relu; in PopulateL2NormParameter()
|
D | adder_populate.cc | 71 param->act_type_ = ActType_Relu; in PopulateAdderParameter()
|
D | conv2d_populate.cc | 98 param->act_type_ = ActType_Relu; in PopulateConvParameter()
|
D | deconv2d_populate.cc | 111 param->act_type_ = ActType_Relu; in PopulateDeconvParameter()
|
/third_party/mindspore/mindspore/lite/src/ops/populate/v0/ |
D | full_connection_populate_v0.cc | 43 matmul_param->act_type_ = ActType_Relu; in PopulateFullconnectionParameter()
|
D | l2_norm_populate_v0.cc | 62 l2_norm_parameter->act_type_ = ActType_Relu; in PopulateL2NormParameter()
|
D | deconv2d_populate_v0.cc | 55 conv_param->act_type_ = ActType_Relu; in PopulateDeconvParameter()
|
D | dedepthwise_conv2d_populate_v0.cc | 54 conv_param->act_type_ = ActType_Relu; in PopulateDeconvDwParameter()
|
D | depthwise_conv2d_populate_v0.cc | 69 conv_param->act_type_ = ActType_Relu; in PopulateConvDwParameter()
|
D | conv2d_populate_v0.cc | 71 conv_param->act_type_ = ActType_Relu; in PopulateConvParameter()
|
D | pooling_populate_v0.cc | 81 pooling_param->act_type_ = ActType_Relu; in PopulatePoolingParameter()
|
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/cmsis-nn/int8/ |
D | fullconnection_int8_coder.cc | 64 …CalculateActivationRangeQuantized(fc_param_->act_type_ == ActType_Relu, fc_param_->act_type_ == Ac… in SetParameters()
|
D | pooling_int8_coder.cc | 97 CalculateActivationRangeQuantized(pooling_parameter_->act_type_ == ActType_Relu, in SetParameters()
|
D | dwconv_int8_coder.cc | 132 …CalculateActivationRangeQuantized(conv_param_->act_type_ == ActType_Relu, conv_param_->act_type_ =… in SetParameters()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/ |
D | pooling_fp32.cc | 60 if (pooling_param_->act_type_ == ActType_Relu) { in RunImpl()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/ |
D | pooling_fp16.cc | 57 if (pooling_param_->act_type_ == ActType_Relu) { in RunImpl()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/ |
D | common_func_fp16.c | 34 … value = (act_type == ActType_Relu || act_type == ActType_Relu6) ? (MSMAX(0.f, value)) : (value); in PostConvFuncCommFp16()
|