ONE
ONE copied to clipboard
[onert] In-place Reshape and ExpandDims operation
We are always using memcpy
for Reshape
and ExpandDims
operation.
If these operation's input is used only once and updated shape does not require padding, we can skip copy operation.
For this, we need to modify memory allocation and tensor handling implementation.