-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[onert] Share tensors memory for designated operands
This commit improves the tensors memory management to handle sharing memory buffers. It means that more that one tensor can indicate the same buffer. It is determined by operands index map calculated in the previous step. Note that cases like sharing memory from constant tensors requires additional checks. ONE-DCO-1.0-Signed-off-by: Mateusz Bencer [email protected]
- Loading branch information
Showing
3 changed files
with
125 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters