Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/
Dgpu_kernel_factory.cc47 if (kernel_info->GetOutputNum() != iter_second->at(attr_index).first.GetOutputSize()) { in CheckIOParam()
100 for (size_t output_index = 0; output_index < kernel_info->GetOutputNum(); output_index++) { in ReducePrecision()
159 if (kernel_info->GetOutputNum() > 0) { in GpuKernelAttrCheck()
163 for (size_t output_index = 0; output_index < kernel_info->GetOutputNum(); output_index++) { in GpuKernelAttrCheck()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dkernel_query.cc44 return kernel_build_info->GetOutputNum() == output_tensor_num && in FilterInvalidKernelInfo()
55 if (kernel_info->GetOutputNum() != output_tensor_num) { in FilterInvalidKernelInfo()
57 << " cannot match the kernel's output size [" << kernel_info->GetOutputNum() << "]"; in FilterInvalidKernelInfo()
Dkernel_build_info.h95 size_t GetOutputNum() const;
140 for (size_t index = 0; index < kernel_build_info->GetOutputNum(); ++index) { in KernelBuildInfoBuilder()
Dkernel_build_info.cc66 size_t KernelBuildInfo::GetOutputNum() const { return outputs_format_.size(); } in GetOutputNum() function in mindspore::kernel::KernelBuildInfo
111 for (size_t index = 0; index < GetOutputNum(); ++index) { in ToString()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/
Dmerge_cast_to_op.cc51 for (size_t i = 0; i < candidate_kernel_info->GetOutputNum(); i++) { in AlternativeKernelInfoForInput()
91 if (AnfAlgo::GetOutputTensorNum(node) != kernel_info->GetOutputNum()) { in CheckOtherOutputs()
94 for (size_t index = 0; index < kernel_info->GetOutputNum(); ++index) { in CheckOtherOutputs()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dcpu_session.cc348 size_t output_num = kernel_build_Info->GetOutputNum(); in KernelNotSupportException()
353 if (i != kernel_build_Info->GetOutputNum() - 1) { in KernelNotSupportException()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dlayer_norm_beta_gamma_backprop_fusion.cc64 for (size_t i = 0; i < kernel_info->GetOutputNum(); ++i) { in CheckKernelBuildInfo()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dkernel_info_setter.cc57 size_t selected_output_num = selected_kernel_info->GetOutputNum(); in CheckKernelInfo()
58 size_t alternative_output_num = alternative_kernel_info->GetOutputNum(); in CheckKernelInfo()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dcpu_kernel_factory.cc154 for (size_t i = 0; i < kernel_info.GetOutputNum(); ++i) { in CPUKernelSingleAttrCheck()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dkernel_select_ascend.cc68 for (size_t output_index = 0; output_index < kernel_build_info.GetOutputNum(); ++output_index) { in MatchInferOutputDataType()
271 for (size_t output_index = 0; output_index < kernel_build_info->GetOutputNum(); ++output_index) { in TagRaiseReduce()