What is the simplest syntax to transform 2D tensor
A   B
C   D

into
A  A  B  B
A  A  B  B
C  C  D  D
C  C  D  D

Note they are parameter tensors, so I need autograd to back propagate gradient from latter into former.
Thanks!