Home
last modified time | relevance | path

Searched refs:INT_MUL_OVERFLOW (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Ddeconv2d_infer.c56 MS_CHECK_FALSE(INT_MUL_OVERFLOW(kernel_h, kernel_w), NNACL_ERR); in Deconv2dInferShape()
62 MS_CHECK_FALSE(INT_MUL_OVERFLOW(input_h, stride_h), NNACL_ERR); in Deconv2dInferShape()
63 MS_CHECK_FALSE(INT_MUL_OVERFLOW(input_w, stride_w), NNACL_ERR); in Deconv2dInferShape()
67 MS_CHECK_FALSE(INT_MUL_OVERFLOW(kernel_h, dilate_h), NNACL_ERR); in Deconv2dInferShape()
68 MS_CHECK_FALSE(INT_MUL_OVERFLOW(kernel_w, dilate_w), NNACL_ERR); in Deconv2dInferShape()
Dconv2d_infer.c30 if (INT_MUL_OVERFLOW(kernel_h, dilate_h) || INT_MUL_OVERFLOW(kernel_w, dilate_w)) { in ConvInferShape()
Dfill_infer.c38 if (INT_MUL_OVERFLOW(num_dims, dst_shape_tensor->shape_[i])) { in FillInferShape()
Dsplit_with_over_lap_infer.c61 …MS_CHECK_FALSE(INT_MUL_OVERFLOW(split_dim_size, visited_block) || total_block_count == 0, NNACL_ER… in SplitWithOverlapInferShape()
Dtile_infer.c104 MS_CHECK_FALSE(INT_MUL_OVERFLOW(input->shape_[dims[i]], (param->multiples_[i])), NNACL_ERR); in TileInferShape()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/
Dsplit_base.cc51 MS_CHECK_FALSE(INT_MUL_OVERFLOW(param->strides_[i + 1], input_shape.at(i + 1)), RET_ERROR); in CheckAndInitSplitParam()
66 MS_CHECK_FALSE(INT_MUL_OVERFLOW(param->strides_[0], input_shape.at(0)), RET_ERROR); in CheckAndInitSplitParam()
104 MS_CHECK_FALSE(INT_MUL_OVERFLOW(param->split_count_, param->num_split_), RET_ERROR); in ReSize()
114 MS_CHECK_FALSE(INT_MUL_OVERFLOW(task_id, thread_n_stride_), RET_ERROR); in Split()
Dstack_base.cc91 MS_CHECK_FALSE(INT_MUL_OVERFLOW(task_id, step), RET_ERROR); in StackExecute()
95 MS_CHECK_FALSE(INT_MUL_OVERFLOW(input_num * start, copy_size_), RET_ERROR); in StackExecute()
Dtile_base.cc109 …MS_CHECK_FALSE(INT_MUL_OVERFLOW(tile_parameter_->in_shape_[mul_index], tile_parameter_->in_strides… in FillOneDimTileParam()
126 MS_CHECK_FALSE(INT_MUL_OVERFLOW(unit, static_cast<size_t>(task_id)), RET_ERROR); in SimpleTileImpl()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dl2_norm_fp32.cc94 if (INT_MUL_OVERFLOW(task_id, unit)) { in CalcSquareSum()
105 if (INT_MUL_OVERFLOW(task_id, unit)) { in DivSqrtSum()
122 if (INT_MUL_OVERFLOW(task_id, unit)) { in CalcL2NormTrailingAxis()
Dsoftmax_fp32.cc80 if (INT_MUL_OVERFLOW(task_id, unit)) { in DoSoftmaxLastAxis()
87 if (INT_MUL_OVERFLOW(begin, channel)) { in DoSoftmaxLastAxis()
Dtranspose_fp32.cc128 MS_CHECK_FALSE(INT_MUL_OVERFLOW(out_shape[1], out_shape[2]), RET_ERROR); in GetNHNCTransposeFunc()
135 MS_CHECK_FALSE(INT_MUL_OVERFLOW(out_shape[2], out_shape[3]), RET_ERROR); in GetNHNCTransposeFunc()
Dprelu_fp32.cc82 MS_CHECK_FALSE(INT_MUL_OVERFLOW(input_plane, channel_num), RET_ERROR); in ReSize()
Droi_pooling_fp32.cc75 …MS_CHECK_FALSE_MSG(INT_MUL_OVERFLOW(param_->input_c_, static_cast<int>(sizeof(float))), RET_ERROR,… in ReSize()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Dsoftmax_fp16.cc78 if (INT_MUL_OVERFLOW(task_id, unit)) { in DoSoftmaxLastAxis()
85 if (INT_MUL_OVERFLOW(begin, channel)) { in DoSoftmaxLastAxis()
Dstack_fp16.cc90 MS_CHECK_FALSE(INT_MUL_OVERFLOW(task_id, step), RET_ERROR); in DoExecute()
94 MS_CHECK_FALSE(INT_MUL_OVERFLOW(input_num * start, copy_size_), RET_ERROR); in DoExecute()
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_given_tensor_fill_parser.cc34 MS_CHECK_FALSE_MSG(INT_MUL_OVERFLOW(data_count, shape.at(i)), RET_ERROR, "Int mul overflow."); in ParseInt8GivenIntTensorFill()
62 MS_CHECK_FALSE_MSG(INT_MUL_OVERFLOW(data_count, shape.at(i)), RET_ERROR, "Int mul overflow."); in ParseInt8GivenTensorFill()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_util.cc120 if (INT_MUL_OVERFLOW(H_output - 1, strideH)) { in getPaddingParam()
132 if (INT_MUL_OVERFLOW(W_output - 1, strideW)) { in getPaddingParam()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dsoftmax_int8.cc100 if (INT_MUL_OVERFLOW(task_id, stride)) { in DoSoftmax()
132 if (INT_MUL_OVERFLOW(inner_size, softmax_param_->input_shape_[i])) { in Run()
Dl2_norm_int8.cc77 if (INT_MUL_OVERFLOW(task_id, stride)) { in DoExecute()
Dpad_int8.cc172 …MS_CHECK_FALSE_MSG(INT_MUL_OVERFLOW(in_dims_[i + 1], pad_param_->in_strides[i + 1]), RET_ERROR, "m… in CalculateStrides()
180 …MS_CHECK_FALSE_MSG(INT_MUL_OVERFLOW(out_dims_[i + 1], pad_param_->out_strides[i + 1]), RET_ERROR, … in CalculateStrides()
Dreshape_int8.cc76 MS_CHECK_FALSE(INT_MUL_OVERFLOW(task_id, count_unit_), RET_ERROR); in DoExecute()
Dsplit_int8.cc69 MS_CHECK_FALSE(INT_MUL_OVERFLOW(task_id, thread_n_stride_), RET_ERROR); in Split()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dop_base.h57 #define INT_MUL_OVERFLOW(x, y) \ macro
211 MS_CHECK_TRUE_RET(!(INT_MUL_OVERFLOW(value1, value2)), errcode)
/third_party/mindspore/mindspore/lite/src/ops/populate/
Dspace_to_batch_nd_populate.cc73 if (INT_MUL_OVERFLOW(static_cast<int>(fb_paddings->size()), in PopulateSpaceToBatchNDParameter()
Dspace_to_batch_populate.cc76 if (INT_MUL_OVERFLOW(static_cast<int>(fb_paddings->size()), in PopulateSpaceToBatchParameter()

12