Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DCpuExecutor.cpp435 std::unique_ptr<uint8_t[]>& ptr_guard, bool data_layout) { in convertToNhwc() argument
442 if (data_layout) { in convertToNhwc()
479 bool data_layout, int* result) { in convertFromNhwc() argument
484 if (data_layout) { in convertFromNhwc()
818 bool data_layout = inCount == 3 ? getScalarData<bool>(operands[ins[2]]) : false; in executeOperation() local
825 if (!convertToNhwc(input_tmp, input, input_tmp_guard, data_layout)) { in executeOperation()
830 output_tmp.buffer = data_layout ? nullptr : output.buffer; in executeOperation()
831 output_tmp.length = data_layout ? 0 : output.length; in executeOperation()
834 if (!data_layout) output.dimensions = output_tmp.dimensions; in executeOperation()
867 if (data_layout) { in executeOperation()
[all …]