Home
last modified time | relevance | path

Searched refs:kInputSize (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/mindspore/core/ops/
Dsoft_margin_loss.cc26 constexpr int64_t kInputSize = 2; variable
31 …rtUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, kInputSize, op_name); in SoftMarginLossInferShape()
46 …rtUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, kInputSize, op_name); in SoftMarginLossInferType()
Dctc_loss_v2_grad.cc30 constexpr int64_t kInputSize = 7; variable
36 …ckAndConvertUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, kInputSize, in CTCLossV2GradInferShape()
Dctc_loss_v2.cc33 constexpr int64_t kInputSize = 4; variable
38 …ckAndConvertUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, kInputSize, in CTCLossV2InferShape()
Ddetection_post_process.cc42 (void)this->AddAttr(kInputSize, MakeValue(inputSize)); in set_input_size()
46 auto value_ptr = this->GetAttr(kInputSize); in get_input_size()
Dop_utils.h98 constexpr auto kInputSize = "input_size"; variable
/third_party/mindspore/mindspore/core/ops/grad/
Dsoft_margin_loss_grad.cc26 constexpr int64_t kInputSize = 3; variable
31 …rtUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, kInputSize, op_name); in SoftMarginLossGradInferShape()
44 …rtUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, kInputSize, op_name); in SoftMarginLossGradInferType()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dcheck_valid_cpu_kernel.cc25 constexpr size_t kInputSize = 2; variable
78 if (inputs.size() != kInputSize) { in CheckParams()
79 …) << "Input number is: " << inputs.size() << ", but CheckValid needs " << kInputSize << " inputs."; in CheckParams()
Droi_align_cpu_kernel.cc24 constexpr size_t kInputSize = 2; variable
121 if (inputs.size() != kInputSize) { in CheckParam()
122 …ON) << "Input number is: " << inputs.size() << ", but ROIAlign needs " << kInputSize << " inputs."; in CheckParam()
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dtflite_rel_pos_multi_head_attention_fusion.cc33 const size_t kInputSize = 16; variable
290 auto quant_params_holder = std::make_shared<lite::QuantParamHolder>(kInputSize, kOutputSize); in SetQuantParamForAttentionNode()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/
Dhelper.cc370 constexpr auto kInputSize = 2; in RemoveNopNode() local
371 if (cinput->inputs().size() == kInputSize) { in RemoveNopNode()