Searched refs:priority_matched_format (Results 1 – 1 of 1) sorted by relevance
79 string priority_matched_format = kOpFormat_NC1HWC0; in GetPriorityMatchFormat() local88 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()93 priority_matched_format = kOpFormat_DEFAULT; in GetPriorityMatchFormat()101 if (need_change_nd && priority_matched_format != kOpFormat_FRAC_NZ) { in GetPriorityMatchFormat()102 priority_matched_format = kOpFormat_DEFAULT; in GetPriorityMatchFormat()104 if (is_5d_input && priority_matched_format != kOpFormat_FRAC_NZ) { in GetPriorityMatchFormat()105 priority_matched_format = kOpFormat_NDC1HWC0; in GetPriorityMatchFormat()107 AnfAlgo::SetNodeAttr(kPriChoosenFormat, MakeValue(priority_matched_format), cnode); in GetPriorityMatchFormat()108 return priority_matched_format; in GetPriorityMatchFormat()