b4058c0...
by
Hyeongseok Oh <email address hidden>
[onert] Remove ParamChecker (#6287)
This commit removes ParamChecker.
ParamChecker was introduced to check parameter's compilability, but it is not used.
And this commit removes checkCompilable() method because it is just check disable_compile flag.
Fix deallocation bug that was introduced by #5926 .
As there was no way to deallocate a dynamic tensor memory of tensors
defined by other backends, dynamic tensor deallocation part needs to
be changed.
- Do not deallocate in FunctionSequence
- Introduce `ITensor::deallocBuffer` which deallocates the buffer
- Introduce `DeallocFunction` class for deallocation of tensors that
are no longer used(only for Linear Executor)
- `IDynamicTensorManager`'s method `planDealloc` and `deallocInput` are
no longer used
Plus, it now deallocates all tensors correctly, even between backend
boundaries.
ONE-DCO-1.0-Signed-off-by: Hanjoung Lee <email address hidden>