Skip to content
Snippets Groups Projects

Feat: Support empty permutation vector for Transpose

Merged Houssem ROUIS requested to merge feat/enhance_tranpose into dev
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 and pybind_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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading