TensorRT icon indicating copy to clipboard operation
TensorRT copied to clipboard

FirstTranspose and SecondTranspose

Open zhudongwork opened this issue 2 years ago • 1 comments

Difference between firstTranspose and SecondTranspose?

zhudongwork avatar Sep 15 '22 08:09 zhudongwork

Can you elaborate on your question?

zerollzeng avatar Sep 18 '22 14:09 zerollzeng

A ShuffleLayer in TRT actually does three things in sequence: FirstTranspose + Reshape + SecondTranspose. This is just for convenience because you can then run Transpose+Reshape or Reshape+Transpose with a single ShuffleLayer.

Does this answer your question?

nvpohanh avatar Dec 02 '22 09:12 nvpohanh

Closing since no activity for more than 3 weeks, please reopen if you still have question, thanks!

ttyio avatar Dec 27 '22 01:12 ttyio