-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[onert] In-place Reshape and ExpandDims operation #12836
Comments
Due to recommendation from #12814 (comment) I'm assigning myself to this issue ;) |
@hseok-oh Handling of sharing memory for static shapes is already on master. Should dynamic shape support be processed also under this issue or is it better to create a separate issue for it? |
It doesn't matter either way.
Treating dynamic shape is more useful. But considering its impact on performance, It may not has a very high priority. |
We are always using
memcpy
forReshape
andExpandDims
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.
The text was updated successfully, but these errors were encountered: