jwfromm opened a new pull request #4566: [Relay][Topi] Added native DepthToSpace and SpaceToDepth Operators URL: https://github.com/apache/incubator-tvm/pull/4566 Although we previously supported DepthToSpace and SpaceToDepth in our frontends through the stacking of reshape, transpose, and another reshape operators, it was a clumsy and slow method as pointed out in Issue #4523. This PR adds direct DepthToSpace and SpaceToDepth operators in TOPI and corresponding Relay operations. I also replace the existing frontend calls to DepthToSpace and SpaceToDepth to show the simplification. In my brief testing, these new operators are around 1.5 to 2 times faster than our previous approach.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
