Home
last modified time | relevance | path

Searched refs:pre_output_format (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/
Dcheck_consistency.cc34 string pre_output_format = AnfAlgo::GetOutputFormat(prev_node.first, prev_node.second); in CheckFormatForConsistency() local
36 if (pre_output_format == selected_input_format) { in CheckFormatForConsistency()
42 …OG(ERROR) << "Found inconsistent format! input format " << input_index << ": " << pre_output_format in CheckFormatForConsistency()
51 if (pre_output_format == kOpFormat_DEFAULT || selected_input_format == kOpFormat_DEFAULT) { in CheckFormatForConsistency()
52 …string checking_format = (pre_output_format == kOpFormat_DEFAULT) ? selected_input_format : pre_ou… in CheckFormatForConsistency()
64 …OG(ERROR) << "Found inconsistent format! input format " << input_index << ": " << pre_output_format in CheckFormatForConsistency()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dkernel_select_ascend.cc85 auto pre_output_format = AnfAlgo::GetPrevNodeOutputFormat(cnode, index); in GetPriorityMatchFormat() local
87 kHWSpecialFormatSet.find(pre_output_format) != kHWSpecialFormatSet.end()) { in GetPriorityMatchFormat()
88 priority_matched_format = !is_init ? pre_output_format : priority_matched_format; in GetPriorityMatchFormat()
92 if (priority_matched_format != pre_output_format && pre_output_format != kOpFormat_DEFAULT) { in GetPriorityMatchFormat()