/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/ |
D | deconv2d_infer.c | 56 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()
|
D | conv2d_infer.c | 30 if (INT_MUL_OVERFLOW(kernel_h, dilate_h) || INT_MUL_OVERFLOW(kernel_w, dilate_w)) { in ConvInferShape()
|
D | fill_infer.c | 38 if (INT_MUL_OVERFLOW(num_dims, dst_shape_tensor->shape_[i])) { in FillInferShape()
|
D | split_with_over_lap_infer.c | 61 …MS_CHECK_FALSE(INT_MUL_OVERFLOW(split_dim_size, visited_block) || total_block_count == 0, NNACL_ER… in SplitWithOverlapInferShape()
|
D | tile_infer.c | 104 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/ |
D | split_base.cc | 51 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()
|
D | stack_base.cc | 91 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()
|
D | tile_base.cc | 109 …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/ |
D | l2_norm_fp32.cc | 94 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()
|
D | softmax_fp32.cc | 80 if (INT_MUL_OVERFLOW(task_id, unit)) { in DoSoftmaxLastAxis() 87 if (INT_MUL_OVERFLOW(begin, channel)) { in DoSoftmaxLastAxis()
|
D | transpose_fp32.cc | 128 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()
|
D | prelu_fp32.cc | 82 MS_CHECK_FALSE(INT_MUL_OVERFLOW(input_plane, channel_num), RET_ERROR); in ReSize()
|
D | roi_pooling_fp32.cc | 75 …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/ |
D | softmax_fp16.cc | 78 if (INT_MUL_OVERFLOW(task_id, unit)) { in DoSoftmaxLastAxis() 85 if (INT_MUL_OVERFLOW(begin, channel)) { in DoSoftmaxLastAxis()
|
D | stack_fp16.cc | 90 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/ |
D | onnx_given_tensor_fill_parser.cc | 34 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/ |
D | tflite_util.cc | 120 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/ |
D | softmax_int8.cc | 100 if (INT_MUL_OVERFLOW(task_id, stride)) { in DoSoftmax() 132 if (INT_MUL_OVERFLOW(inner_size, softmax_param_->input_shape_[i])) { in Run()
|
D | l2_norm_int8.cc | 77 if (INT_MUL_OVERFLOW(task_id, stride)) { in DoExecute()
|
D | pad_int8.cc | 172 …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()
|
D | reshape_int8.cc | 76 MS_CHECK_FALSE(INT_MUL_OVERFLOW(task_id, count_unit_), RET_ERROR); in DoExecute()
|
D | split_int8.cc | 69 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/ |
D | op_base.h | 57 #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/ |
D | space_to_batch_nd_populate.cc | 73 if (INT_MUL_OVERFLOW(static_cast<int>(fb_paddings->size()), in PopulateSpaceToBatchNDParameter()
|
D | space_to_batch_populate.cc | 76 if (INT_MUL_OVERFLOW(static_cast<int>(fb_paddings->size()), in PopulateSpaceToBatchParameter()
|