Add Transpose Optimizer and modify nhwc optimizer to use it. #9284
Add Transpose Optimizer and modify nhwc optimizer to use it.
48d7dd85
Fix casts
2fd8b3d2
Fix casts2
24cc888f
Fix move
e8da408e
TomWildenhain-Microsoft
changed the title Add Transpose Optimizer and modify nhwc optimizer to use it. [WIP] Add Transpose Optimizer and modify nhwc optimizer to use it. 4 years ago
Add tests
3aeca4d3
Add headers
54927c00
Fixes and tests
2fcc860d
Remove explicit template instantiation
6740edce
Fix build warning
f1cf11c1
Name unit tests
5759a6c8
Code review fixes
f4396d82
Add some comments
b0a7d622
Fix some casts
ff56fe28
Make optimization slightly less agressive
8758851f
Some unit test fixes
265c9d40
Update Attention pattern to work with transpose optimizer
8ede2115
Update attention fuser
6de3e403
Fix attention fusion python script
623741af
Improve transpose optimizer documentation
a63b8923
Merge branch 'microsoft:master' into tom/transpose_optimizer
2ef3b303
Create OptimizerCtx struct
594eca0b
Merge branch 'tom/transpose_optimizer' of https://github.com/TomWilde…
db3ea5db
Disable Slice handler for testing
bf4472cd
Implement Slice int32
27ec2cd4
Only push transposes leading up to other transposes
1352a881
Improve optimization heuristic
24177f8c
Add exemption for MaxPool
64cc4484
Document transpose optimizer api.h
6c48036a
Revert fusion tests to master
fcaae476
Remove temp files
a4938c2b
Replace typedef with using
3299b0ab
Trim trailing whitespace
983e926e
Move class declarations from api_impl.h to api_impl.cc
0a1004e5
Remove copy constructors and move allocator
dd25b0cf
Alphabetize headers
784e6502
Add override keyword
f6afe2df
Comments for nhwc_transformer
c0f81ef2
Rename OrtGraph to ApiGraph, etc.
d2441736
Wrap line
92db5055
Remove extra qualifier on ApiGraph
cf470f5d
Refector attention fusion
43ff2817
Remove c-style casts from api_impl.cc
bd116e43
Improve documentation
6ce146ac
Avoid printing vector in ORT_ENSURES
09559156
Revert attention fusion refactor
cd545637
Remove duplicate cost heuristics and improve documentation
9ec43db4
Fix size_t casts
6efc368c
Fixes from Scott's review
9c215c08
Unrevert attention refactor and more updates from Scott's review
3498da07
Revert api_impl.cc ValueInfo change
7cd1e502
only optimize first transpose input
523bfedc
Unrevert api_impl.cc changes
34f68429
Make vector call reserve
2e8ef1f9
transpose_optimizer.cc update from Scott's comments
abb49224
Rename api::Graph to api::GraphRef etc.
22d3f40a
Consider domains 'onnx.ai' and '' equal
7d1a17be
Replace AddInput with SetInput
af5732c0
Improve tests
a26f60ac
quantization and heuristic tests
2427c715
Comments for tests
6fab4458
Replace const string_view with string_view and update tests
d2c8ef88
Fixes requested by Edward
2ee62f02
Fix std::string to string_view conversion
5c221eeb
Add <string> to includes
7326c5a8
TomWildenhain-Microsoft
changed the title [WIP] Add Transpose Optimizer and modify nhwc optimizer to use it. Add Transpose Optimizer and modify nhwc optimizer to use it. 4 years ago
Fix bug for broadcasting ops with unknown rank. Slight safety improve…
d2fb66a1
Merge branch 'microsoft:master' into tom/transpose_optimizer
19eed394
Changes requested by Edward
4bfed409
Fix formatting
3e6ab32c
Improve description of cost metric
36290385
edgchen1
approved these changes
on 2021-10-28
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub