Home
last modified time | relevance | path

Searched defs:bias_data (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dconv2d_tests.cc39 …d TestMain_Conv2D(const std::string &attr, float *input_data, float *weight_data, float *bias_data, in TestMain_Conv2D()
60 float bias_data[] = {0, 0}; in TEST_F() local
90 float bias_data[] = {0.5, -0.5}; in TEST_F() local
101 float bias_data[] = {0}; in TEST_F() local
112 float bias_data[] = {0.5, -0.5}; in TEST_F() local
123 float bias_data[] = {0.5, -0.5}; in TEST_F() local
265 auto bias_data = std::get<4>(case_).data(); in TEST_F() local
Dfullconnection_tests.cc60 float bias_data[] = {1, 1, 1}; variable
82 float bias_data[] = {1, 1}; variable
105 float bias_data[] = {1, 1, 1, 1}; variable
128 float bias_data[] = {1, 1, 1, 1}; variable
Dconv2d_transpose_tests.cc64 float bias_data[] = {0.5}; in TEST_F() local
91 float bias_data[] = {0.5}; in TEST_F() local
119 float bias_data[] = {0.5}; in TEST_F() local
147 float bias_data[] = {0.5}; in TEST_F() local
176 float bias_data[] = {0.5}; in TEST_F() local
206 float bias_data[] = {0.5}; in TEST_F() local
Ddepthwise_conv2d_tests.cc74 float bias_data[] = {0, 0, 0, 0}; in TEST_F() local
122 float bias_data[] = {0, 0, 0, 0, 0}; in TEST_F() local
165 float bias_data[] = {0, 0, 0, 0}; in TEST_F() local
226 float bias_data[] = {0, 0, 0, 0, 0, 0}; in TEST_F() local
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/
Dscale_int8.cc66 … int8_t *scale_data, const std::vector<int> &bias_shape, int8_t *bias_data, in Prepare()
107 int8_t bias_data[4] = {3, 3, 3, 3}; in TEST_F() local
133 int8_t bias_data[4] = {3, 3, 3, 3}; in TEST_F() local
159 int8_t bias_data[4] = {3, 3, 3, 3}; in TEST_F() local
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dwinograd_avx.c20 void OutputTransform4x2AvxUnit(const float *src_data, float *dst_data, const float *bias_data, int … in OutputTransform4x2AvxUnit()
52 void OutputTransform4x2ReluAvxUnit(const float *src_data, float *dst_data, const float *bias_data, … in OutputTransform4x2ReluAvxUnit()
87 void OutputTransform4x2Relu6AvxUnit(const float *src_data, float *dst_data, const float *bias_data,… in OutputTransform4x2Relu6AvxUnit()
125 void OutputTransform4x3AvxUnit(const float *src_data, float *dst_data, const float *bias_data, int … in OutputTransform4x3AvxUnit()
161 void OutputTransform4x3ReluAvxUnit(const float *src_data, float *dst_data, const float *bias_data, … in OutputTransform4x3ReluAvxUnit()
201 void OutputTransform4x3Relu6AvxUnit(const float *src_data, float *dst_data, const float *bias_data,… in OutputTransform4x3Relu6AvxUnit()
245 void OutputTransform6x2AvxUnit(const float *src_data, float *dst_data, const float *bias_data, int … in OutputTransform6x2AvxUnit()
288 void OutputTransform6x2ReluAvxUnit(const float *src_data, float *dst_data, const float *bias_data, … in OutputTransform6x2ReluAvxUnit()
334 void OutputTransform6x2Relu6AvxUnit(const float *src_data, float *dst_data, const float *bias_data,… in OutputTransform6x2Relu6AvxUnit()
382 void OutputTransform6x3AvxUnit(const float *src_data, float *dst_data, const float *bias_data, int … in OutputTransform6x3AvxUnit()
[all …]
Dwinograd_utils.c327 void OutputTransform4x2Unit(const float *src_data, float *dst_data, const float *bias_data, int src… in OutputTransform4x2Unit()
389 void OutputTransform4x2ReluUnit(const float *src_data, float *dst_data, const float *bias_data, int… in OutputTransform4x2ReluUnit()
456 void OutputTransform4x2Relu6Unit(const float *src_data, float *dst_data, const float *bias_data, in… in OutputTransform4x2Relu6Unit()
527 void OutputTransform4x3Unit(const float *src_data, float *dst_data, const float *bias_data, int src… in OutputTransform4x3Unit()
595 void OutputTransform4x3ReluUnit(const float *src_data, float *dst_data, const float *bias_data, int… in OutputTransform4x3ReluUnit()
669 void OutputTransform4x3Relu6Unit(const float *src_data, float *dst_data, const float *bias_data, in… in OutputTransform4x3Relu6Unit()
748 void OutputTransform6x2Unit(const float *src_data, float *dst_data, const float *bias_data, int src… in OutputTransform6x2Unit()
820 void OutputTransform6x2ReluUnit(const float *src_data, float *dst_data, const float *bias_data, int… in OutputTransform6x2ReluUnit()
897 void OutputTransform6x2Relu6Unit(const float *src_data, float *dst_data, const float *bias_data, in… in OutputTransform6x2Relu6Unit()
978 void OutputTransform6x3Unit(const float *src_data, float *dst_data, const float *bias_data, int src… in OutputTransform6x3Unit()
[all …]
Dconv_winograd_fp32.c24 void ConvWinogardFp32(const float *input_data, const float *trans_weight, const float *bias_data, f… in ConvWinogardFp32()
Dwinograd_transform.c98 void WinogradOutputNHWCTransform(const float *gemm_out, float *out_data, const float *bias_data, in… in WinogradOutputNHWCTransform()
157 void WinogradOutputNC4HW4Transform(const float *gemm_out, float *out_data, const float *bias_data, … in WinogradOutputNC4HW4Transform()
Dadder_fp32.c53 …2(const float *input_data, float *packed_input, const float *packed_weight, const float *bias_data, in AdderFp32()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Dlstm_fp16.cc117 auto bias_data = bias->data(); in InitInputWeightBias() local
178 auto bias_data = bias->data(); in InitStateWeightBias() local
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dwinograd_utils_fp16.c462 …putTransform4x2UnitFp16(const float16_t *src_data, float16_t *dst_data, const float16_t *bias_data, in OutputTransform4x2UnitFp16()
552 …ransform4x2ReluUnitFp16(const float16_t *src_data, float16_t *dst_data, const float16_t *bias_data, in OutputTransform4x2ReluUnitFp16()
650 …ansform4x2Relu6UnitFp16(const float16_t *src_data, float16_t *dst_data, const float16_t *bias_data, in OutputTransform4x2Relu6UnitFp16()
756 …putTransform4x3UnitFp16(const float16_t *src_data, float16_t *dst_data, const float16_t *bias_data, in OutputTransform4x3UnitFp16()
792 …ransform4x3ReluUnitFp16(const float16_t *src_data, float16_t *dst_data, const float16_t *bias_data, in OutputTransform4x3ReluUnitFp16()
832 …ansform4x3Relu6UnitFp16(const float16_t *src_data, float16_t *dst_data, const float16_t *bias_data, in OutputTransform4x3Relu6UnitFp16()
876 …putTransform6x2UnitFp16(const float16_t *src_data, float16_t *dst_data, const float16_t *bias_data, in OutputTransform6x2UnitFp16()
916 …ransform6x2ReluUnitFp16(const float16_t *src_data, float16_t *dst_data, const float16_t *bias_data, in OutputTransform6x2ReluUnitFp16()
959 …ansform6x2Relu6UnitFp16(const float16_t *src_data, float16_t *dst_data, const float16_t *bias_data, in OutputTransform6x2Relu6UnitFp16()
1005 …putTransform6x3UnitFp16(const float16_t *src_data, float16_t *dst_data, const float16_t *bias_data, in OutputTransform6x3UnitFp16()
[all …]
Dconv_fp16.c24const float16_t *bias_data, float16_t *col_major_input, float16_t *output_data, int task_id, in ConvFp16()
66const float16_t *bias_data, float16_t *col_major_input, float16_t *output_data, int task_id, in ConvOutNc8hw8Fp16()
188 …inogardFp16(const float16_t *input_data, const float16_t *trans_weight, const float16_t *bias_data, in ConvWinogardFp16()
Dconv_depthwise_fp16.c249 …3x3LineFp16(float16_t *dst, float16_t **lines, const float16_t *weight, const float16_t *bias_data, in ConvDw3x3LineFp16()
350const float16_t *bias_data, const ConvParameter *conv_param, int start_oh, int end_oh) { in ConvDw3x3Fp16()
399 const float16_t *bias_data, const ConvParameter *conv_param, int task_id) { in ConvDwFp16()
572const float16_t *bias_data, const ConvParameter *conv_param, const SlidingWindowParam *sliding, in ConvDwC8Fp16()
736const float16_t *bias_data, const ConvParameter *conv_param, const SlidingWindowParam *sliding, in DeconvDwC8Fp16()
Dwinograd_transform_fp16.c128 …utNHWCTransformFp16(const float16_t *gemm_out, float16_t *tmp_out_data, const float16_t *bias_data, in WinogradOutputNHWCTransformFp16()
167 …NC8HW8TransformFp16(const float16_t *gemm_out, float16_t *tmp_out_data, const float16_t *bias_data, in WinogradOutputNC8HW8TransformFp16()
/third_party/mindspore/mindspore/lite/micro/coder/wrapper/int8/
Dconv3x3_run_int8_wrapper.h27 int32_t *bias_data; member
Dconv1x1_init_int8_wrapper.c23 int8_t **packed_weight, int32_t **bias_data) { in Conv1x1Init()
Dconv_init_int8_wrapper.c24 bool support_optimize, int8_t **packed_weight, int32_t **bias_data) { in ConvInit()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/
Dlstm_fp32_tests.cc73 …std::vector<float> bias_data = {-0.00207639, 0.16391152, -0.00069344, -0.32945693, -0.367423, 0… in InitLstmForwardCreator() local
231 std::vector<float> bias_data = { in InitLstmBackwardCreator() local
Dfullconnection_fp32_tests.cc125 auto bias_data = mindspore::lite::ReadFile(bias_path.c_str(), &buffer_size); in FcTestInit2() local
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dconv_scale_fusion.cc85 auto bias_data = reinterpret_cast<const float *>(bias_value->data_c()); in InitTransParam() local
Dconv_transform_fusion.cc218 float *bias_data = nullptr; in GenNewConvTensor() local
313 int ConvTransformFusion::CalNewBiasTensor(float *bias_data, int kernel_num, bool bias_flag, const f… in CalNewBiasTensor()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dconv_int8.c20const int32_t *bias_data, int8_t *output_data, int32_t *filter_zp, int32_t *input_sum, int task_id, in ConvInt8()
Dconv_depthwise_int8.c81 const int32_t *bias_data, const ConvParameter *conv_param, int task_id) { in ConvDwInt8()
298const int32_t *bias_data, const ConvParameter *conv_param, const SlidingWindowParam *sliding, in ConvDw3x3Int8()
414const int32_t *bias_data, const ConvParameter *conv_param, const SlidingWindowParam *sliding) { in ConvDw3x3Int8Pad()
619 …nt8_t *output_data, const int8_t *input_data, const int16_t *weight_data, const int32_t *bias_data, in ConvDwInt8SW()
774const int32_t *bias_data, const ConvParameter *conv_param, const SlidingWindowParam *sliding, in DeconvDwInt8()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dconvolution_int8.cc108 auto *bias_data = reinterpret_cast<int32_t *>(bias_data_); in InitWeightBias() local

12