Feat: Support empty permutation vector for Transpose
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