Lines Matching refs:data_layout

516                           std::unique_ptr<uint8_t[]>& ptr_guard, bool data_layout) {  in convertToNhwc()  argument
523 if (data_layout) { in convertToNhwc()
560 bool data_layout, int* result) { in convertFromNhwc() argument
565 if (data_layout) { in convertFromNhwc()
871 bool data_layout = inCount == 3 ? getScalarData<bool>(operands[ins[2]]) : false; in executeOperation() local
878 if (!convertToNhwc(input_tmp, input, input_tmp_guard, data_layout)) { in executeOperation()
883 output_tmp.buffer = data_layout ? nullptr : output.buffer; in executeOperation()
884 output_tmp.length = data_layout ? 0 : output.length; in executeOperation()
887 if (!data_layout) output.dimensions = output_tmp.dimensions; in executeOperation()
920 if (data_layout) { in executeOperation()
923 if (!success || !convertFromNhwc(output, output_tmp, data_layout, &result)) { in executeOperation()
935 bool data_layout = inCount == 3 ? getScalarData<bool>(operands[ins[2]]) : false; in executeOperation() local
942 if (!convertToNhwc(input_tmp, input, input_tmp_guard, data_layout)) { in executeOperation()
947 output_tmp.buffer = data_layout ? nullptr : output.buffer; in executeOperation()
948 output_tmp.length = data_layout ? 0 : output.length; in executeOperation()
952 if (!data_layout) output.dimensions = output_tmp.dimensions; in executeOperation()
985 if (data_layout) { in executeOperation()
988 if (!success || !convertFromNhwc(output, output_tmp, data_layout, &result)) { in executeOperation()
1159 bool data_layout = inCount == 3 ? getScalarData<bool>(operands[ins[2]]) : false; in executeOperation() local
1166 if (!convertToNhwc(input_tmp, input, input_tmp_guard, data_layout)) { in executeOperation()
1171 output_tmp.buffer = data_layout ? nullptr : output.buffer; in executeOperation()
1172 output_tmp.length = data_layout ? 0 : output.length; in executeOperation()
1178 if (!data_layout) output.dimensions = output_tmp.dimensions; in executeOperation()
1215 if (data_layout) { in executeOperation()
1218 if (!success || !convertFromNhwc(output, output_tmp, data_layout, &result)) { in executeOperation()
1231 bool data_layout = inCount == 4 ? getScalarData<bool>(operands[ins[3]]) : false; in executeOperation() local
1238 if (!convertToNhwc(input_tmp, input, input_tmp_guard, data_layout)) { in executeOperation()
1243 output_tmp.buffer = data_layout ? nullptr : output.buffer; in executeOperation()
1244 output_tmp.length = data_layout ? 0 : output.length; in executeOperation()
1251 if (!data_layout) output.dimensions = output_tmp.dimensions; in executeOperation()
1292 if (data_layout) { in executeOperation()
1295 if (!success || !convertFromNhwc(output, output_tmp, data_layout, &result)) { in executeOperation()
1531 bool data_layout = false; in executeOperation() local
1542 data_layout = getScalarData<bool>(operands[ins[11]]); in executeOperation()
1549 data_layout = getScalarData<bool>(operands[ins[8]]); in executeOperation()
1557 if (!convertToNhwc(input_tmp, input, input_tmp_guard, data_layout)) { in executeOperation()
1562 output_tmp.buffer = data_layout ? nullptr : output.buffer; in executeOperation()
1563 output_tmp.length = data_layout ? 0 : output.length; in executeOperation()
1582 if (!data_layout) output.dimensions = output_tmp.dimensions; in executeOperation()
1643 if (data_layout) { in executeOperation()
1646 if (!success || !convertFromNhwc(output, output_tmp, data_layout, &result)) { in executeOperation()