Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/
DCpuExecutor.cpp451 std::unique_ptr<uint8_t[]>& ptr_guard, bool data_layout) { in convertToNhwc() argument
458 if (data_layout) { in convertToNhwc()
492 bool data_layout, int* result) { in convertFromNhwc() argument
497 if (data_layout) { in convertFromNhwc()
758 bool data_layout = false; in executeOperation() local
768 data_layout = getScalarData<bool>(mOperands[ins[8]]); in executeOperation()
785 data_layout = getScalarData<bool>(mOperands[ins[11]]); in executeOperation()
800 if (!convertToNhwc(input_tmp, input, input_tmp_guard, data_layout)) { in executeOperation()
805 output_tmp.buffer = data_layout ? nullptr : output.buffer; in executeOperation()
806 output_tmp.length = data_layout ? 0 : output.length; in executeOperation()
[all …]