Feat: Support empty permutation vector for Transpose
1 unresolved thread
1 unresolved thread
Context
For Transpose Operator, ONNX allows passing an empty permutation vector.
In that case, Transpose operation reverses the dimensions of the input tensor.
Modified files
-
Transpose.hpp
,Transpose.cpp
andpybind_Transpose.cpp
, support empty permutation vector; -
Test_TransposeImpl.cpp
, add Unit Test for empty permutation vector;
TODO
-
Update Operator -
Add Unit Test
Merge request reports
Activity
Filter activity
added Enhancement ⭐ StatusReview Ready TopicOperator labels
assigned to @hrouis
@hrouis Can you add this behavior in the doxygen of the Transpose operator ?
added 1 commit
- f32515a9 - support empty permutation vector for Transpose
requested review from @cmoineau
@hrouis I let you merge :)
mentioned in commit 40b8dddd
Please register or sign in to reply