diff options
Diffstat (limited to 'src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp')
-rw-r--r-- | src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp b/src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp index 8adf7047fd..f22446863c 100644 --- a/src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp +++ b/src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp @@ -672,15 +672,6 @@ void CpuGemmLowpMatrixMultiplyCore::prepare(ITensorPack &tensors) if(_asm_glue->is_configured()) { _asm_glue->prepare(tensors); - - auto has_reshape = std::find_if(_aux_mem.begin(), - _aux_mem.end(), - [](const MemoryInfo & m) -> bool { return m.lifetime == MemoryLifetime::Persistent; }); - - if(has_reshape != std::end(_aux_mem)) - { - original_b->mark_as_unused(); - } } // Run non-assembly reshape else if(_reshape_b_only_on_first_run && !_run_vector_matrix_multiplication && !_asm_glue->is_configured()) |