Home
last modified time | relevance | path

Searched refs:MS_CHECK_INT_MUL_NOT_OVERFLOW (Results 1 – 15 of 15) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dresize_infer.c48 MS_CHECK_INT_MUL_NOT_OVERFLOW((int)(data[1]), GetHeight(input), NNACL_ERRCODE_MUL_OVERFLOW); in HandleTwoInputs()
49 MS_CHECK_INT_MUL_NOT_OVERFLOW((int)(data[2]), GetWidth(input), NNACL_ERRCODE_MUL_OVERFLOW); in HandleTwoInputs()
61 MS_CHECK_INT_MUL_NOT_OVERFLOW(scale_height, GetHeight(input), NNACL_ERRCODE_MUL_OVERFLOW); in HandleTwoInputs()
62 MS_CHECK_INT_MUL_NOT_OVERFLOW(scale_width, GetWidth(input), NNACL_ERRCODE_MUL_OVERFLOW); in HandleTwoInputs()
89 MS_CHECK_INT_MUL_NOT_OVERFLOW(GetHeight(input) - 1, scale - 1, NNACL_ERRCODE_MUL_OVERFLOW); in HandleTwoInputs()
90 MS_CHECK_INT_MUL_NOT_OVERFLOW(GetWidth(input) - 1, scale - 1, NNACL_ERRCODE_MUL_OVERFLOW); in HandleTwoInputs()
Dspace_to_batch_infer.c54 MS_CHECK_INT_MUL_NOT_OVERFLOW(block_shape[0], block_w, NNACL_ERR); in SpaceToBatchInferShape()
55 MS_CHECK_INT_MUL_NOT_OVERFLOW(input->shape_[kNHWC_N], block_shape[0] * block_w, NNACL_ERR); in SpaceToBatchInferShape()
Dcommon_infer.c281 MS_CHECK_INT_MUL_NOT_OVERFLOW(res, tensor->shape_[i], NNACL_ERRCODE_MUL_OVERFLOW); in GetElementNum()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dglu_fp32.cc101 MS_CHECK_INT_MUL_NOT_OVERFLOW(task_id, thread_n_stride_, RET_ERROR); in Split()
123 MS_CHECK_INT_MUL_NOT_OVERFLOW(stride, task_id, RET_ERROR); in Sigmoid()
138 MS_CHECK_INT_MUL_NOT_OVERFLOW(stride, task_id, RET_ERROR); in Mul()
Dlocal_response_norm_fp32.cc55 MS_CHECK_INT_MUL_NOT_OVERFLOW(stride, task_id, RET_ERROR); in DoLocalResponseNorm()
Dspace_to_depth_fp32.cc66 MS_CHECK_INT_MUL_NOT_OVERFLOW(task_id, thread_h_stride_, RET_ERROR); in SpaceToDepth()
Darithmetic_self_fp32.cc77 MS_CHECK_INT_MUL_NOT_OVERFLOW(task_id, stride, RET_ERROR); in DoExecute()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Dbiasadd_fp16.cc67 MS_CHECK_INT_MUL_NOT_OVERFLOW(data_size, sizeof(float16_t), RET_ERROR); in Run()
93 MS_CHECK_INT_MUL_NOT_OVERFLOW(bias_tensor_->ElementsNum(), sizeof(float16_t), RET_ERROR); in GetBiasData()
Dscale_fp16.cc146 MS_CHECK_INT_MUL_NOT_OVERFLOW(in_tensors_.at(1)->ElementsNum(), sizeof(float16_t), RET_ERROR); in MallocAssignTmpBuffer()
Darithmetic_self_fp16.cc61 MS_CHECK_INT_MUL_NOT_OVERFLOW(task_id, stride, RET_ERROR); in DoExecute()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dop_base.h121 #define MS_CHECK_INT_MUL_NOT_OVERFLOW(value1, value2, errcode) macro
210 #define MS_CHECK_INT_MUL_NOT_OVERFLOW(value1, value2, errcode) \ macro
/third_party/mindspore/mindspore/lite/tools/optimizer/parallel/
Dconv2d_info.cc315 MS_CHECK_INT_MUL_NOT_OVERFLOW(in_channel, strategys[0][kAxisCIn][0], RET_ERROR); in ConstructOutputCNodes()
325 MS_CHECK_INT_MUL_NOT_OVERFLOW(out_channel, strategys[1][kAxisCOut][0], RET_ERROR); in ConstructOutputCNodes()
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dtflite_lstm_cell_fusion.cc467 MS_CHECK_INT_MUL_NOT_OVERFLOW(C8NUM, step, RET_ERROR); in GetConcatedParam()
477 MS_CHECK_INT_MUL_NOT_OVERFLOW(data_shapes[0][0], data_shapes[0][1], RET_ERROR); in GetConcatedParam()
479 MS_CHECK_INT_MUL_NOT_OVERFLOW(C4NUM, step, RET_ERROR); in GetConcatedParam()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dscale_int8.cc260 MS_CHECK_INT_MUL_NOT_OVERFLOW(task_id, count_unit_, RET_ERROR); in Scale()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dtf_model_parser.cc101 MS_CHECK_INT_MUL_NOT_OVERFLOW(shape_size, tensor_shape.dim(i).size(), 0); in GetShapeSize()