Home
last modified time | relevance | path

Searched refs:kOutputNum (Results 1 – 14 of 14) sorted by relevance

/third_party/mindspore/mindspore/core/ops/
Dcustom_predict.cc29 void CustomPredict::set_output_num(const int64_t output_num) { (void)this->AddAttr(kOutputNum, Make… in set_output_num()
32 auto value_ptr = this->GetAttr(kOutputNum); in get_output_num()
52 shape.push_back(GetValue<int64_t>(primitive->GetAttr(kOutputNum))); in CustomPredictInfer()
Dsplit.cc33 void Split::set_output_num(const int64_t output_num) { (void)this->AddAttr(kOutputNum, MakeValue(ou… in set_output_num()
46 auto value_ptr = GetAttr(kOutputNum); in get_output_num()
Dop_utils.h146 constexpr auto kOutputNum = "output_num"; variable
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/base/
Dresize_base_coder.cc22 constexpr int kOutputNum = 1; variable
77 if (output_tensors_.size() != kOutputNum) { in CheckInputsOuputs()
78 …MS_LOG(ERROR) << "Resize output num should be " << kOutputNum << ", but got " << output_tensors_.s… in CheckInputsOuputs()
Dreduce_base_coder.cc24 constexpr size_t kOutputNum = 1; variable
31 if (output_tensors_.size() != kOutputNum) { in CheckInputsOutputs()
32 …MS_LOG(ERROR) << "Reduce outputs size should be " << kOutputNum << " but got " << output_tensors_.… in CheckInputsOutputs()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/
Dresize_base.cc31 constexpr int kOutputNum = 1; variable
91 if (out_tensors_.size() != kOutputNum) { in CheckInputsOuputs()
92 …MS_LOG(ERROR) << "Resize output num should be " << kOutputNum << ", but got " << out_tensors_.size… in CheckInputsOuputs()
Dreduce_base.cc32 constexpr size_t kOutputNum = 1; variable
40 if (out_tensors_.size() != kOutputNum) { in CheckInputsOutputs()
41 …MS_LOG(ERROR) << "Reduce outputs size should be " << kOutputNum << " but got " << out_tensors_.siz… in CheckInputsOutputs()
Done_hot_base.cc37 constexpr size_t kOutputNum = 1; variable
42 ….size() != kInputNum && in_tensors_.size() != kInputNumOpt) || out_tensors_.size() != kOutputNum) { in Init()
44 …<< in_tensors_.size() << ", output size should be" << kOutputNum << ", got " << out_tensors_.size(… in Init()
Dprior_box.cc34 constexpr int kOutputNum = 1; variable
46 if (out_tensors_.size() != kOutputNum) { in Init()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dnon_max_suppression_fp32.cc36 constexpr size_t kOutputNum = 1; variable
53 …e() < kMinInputsSize || in_tensors_.size() > kMaxInputsSize || out_tensors_.size() != kOutputNum) { in Init()
55 … << ", got " << in_tensors_.size() << ", output size should be" << kOutputNum << ", got " in Init()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Deltwise_grad_cpu_kernel.h28 constexpr size_t kOutputNum = 1; variable
Deltwise_grad_cpu_kernel.cc249 if (inputs.size() < kInputMinNum || outputs.size() != kOutputNum) { in Launch()
/third_party/mindspore/mindspore/lite/tools/converter/legacy_optimizer/graph/
Ddtype_trans_pass.cc29 #define kOutputNum 1 macro
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dprim.cc528 const string kOutputNum = "output_num"; in CheckCustomPrimOutputInferResult() local
531 auto output_num_value = prim->GetAttr(kOutputNum); in CheckCustomPrimOutputInferResult()