onnxruntime
2679711b - Refactor transformers and other code to reduce memory allocation calls (#10523)

Commit
4 years ago
Refactor transformers and other code to reduce memory allocation calls (#10523) Work on minimizing memory management calls by reducing number of allocations and copies. Replace std::unordered_set to InlinedHashSet and add usage of InlinedVector. Employ std::move() to minimize copying and memory allocations. Remove copying of the const shared data into each of the PropagateCast transformer instances. Move inlined_containers.h header to include/common Adjust AsSpan imlementation for C++ < 17
Author
Parents
Loading