Home
last modified time | relevance | path

Searched refs:GetInputNum (Results 1 – 17 of 17) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/
Dgpu_kernel_factory.cc42 if (kernel_info->GetInputNum() != iter_second->at(attr_index).first.GetInputSize()) { in CheckIOParam()
91 for (size_t input_index = 0; input_index < kernel_info->GetInputNum(); input_index++) { in ReducePrecision()
143 if (kernel_info->GetInputNum() > 0) { in GpuKernelAttrCheck()
147 for (size_t input_index = 0; input_index < kernel_info->GetInputNum(); input_index++) { in GpuKernelAttrCheck()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dkernel_query.cc45 kernel_build_info->GetInputNum() == input_tensor_num; in FilterInvalidKernelInfo()
60 << " cannot match the kernel's input size [" << kernel_info->GetInputNum() << "]"; in FilterInvalidKernelInfo()
Dkernel_build_info.h93 size_t GetInputNum() const;
134 for (size_t index = 0; index < kernel_build_info->GetInputNum(); ++index) { in KernelBuildInfoBuilder()
Dkernel_build_info.cc64 size_t KernelBuildInfo::GetInputNum() const { return inputs_format_.size(); } in GetInputNum() function in mindspore::kernel::KernelBuildInfo
104 for (size_t index = 0; index < GetInputNum(); ++index) { in ToString()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/
Dmerge_cast_to_op.cc38 for (size_t i = 0; i < candidate_kernel_info->GetInputNum(); i++) { in AlternativeKernelInfoForInput()
75 if (AnfAlgo::GetInputTensorNum(node) != kernel_info->GetInputNum()) { in CheckInputs()
79 for (size_t index = 0; index < kernel_info->GetInputNum(); ++index) { in CheckInputs()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dlayer_norm_beta_gamma_backprop_fusion.cc58 for (size_t i = 0; i < kernel_info->GetInputNum(); ++i) { in CheckKernelBuildInfo()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dkernel_info_setter.cc43 size_t selected_input_num = selected_kernel_info->GetInputNum(); in CheckKernelInfo()
44 size_t alternative_input_num = alternative_kernel_info->GetInputNum(); in CheckKernelInfo()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dcpu_kernel_factory.cc146 for (size_t i = 0; i < kernel_info.GetInputNum(); ++i) { in CPUKernelSingleAttrCheck()
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dfull_quant_quantizer.h181 size_t GetInputNum() const { return data_pre_process_param_.calibrate_path_vector.size(); } in GetInputNum() function
Dfull_quant_quantizer.cc923 if (inputs.size() != calibrator_->GetInputNum()) { in DoInference()
925 << " calibrator count:" << calibrator_->GetInputNum(); in DoInference()
1190 if (inputs.size() != calibrator_->GetInputNum()) { in CollectDataFrequency()
1191 …OG(ERROR) << "model's input tensor cnt: " << inputs.size() << " != " << calibrator_->GetInputNum(); in CollectDataFrequency()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dkernel_select_ascend.cc61 for (size_t input_index = 0; input_index < kernel_build_info.GetInputNum(); ++input_index) { in MatchInferOutputDataType()
260 for (size_t input_index = 0; input_index < kernel_build_info->GetInputNum(); ++input_index) { in TagRaiseReduce()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/
Dascend_helper.cc393 size_t in_num = AnfAlgo::GetInputNum(cnode); // include monads. in InsertTransOpForInput()
417 size_t in_num = AnfAlgo::GetInputNum(cnode); // include monads. in InsertCastForInput()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Ddecrease_compute_precision.cc83 size_t in_num = AnfAlgo::GetInputNum(cnode); // include monads. in InsertCastForGraphKernel()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dcpu_session.cc337 size_t input_num = kernel_build_Info->GetInputNum(); in KernelNotSupportException()
Danf_runtime_algorithm.h131 static size_t GetInputNum(const CNodePtr &cnode);
Danf_runtime_algorithm.cc575 size_t AnfRuntimeAlgorithm::GetInputNum(const CNodePtr &cnode) { in GetInputNum() function in mindspore::session::AnfRuntimeAlgorithm
/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Dgraph_scheduler.cc455 for (size_t i = 0; i < AnfAlgo::GetInputNum(kernel); ++i) { in Link()