Could someone kindly explain the logic behind the tensor reshape below? According to what kind of rule is the b.view(3*2, 2) tensor being re-organized?
import torch¬                                                                                                    
       a = torch.eye(2)¬                                                                                                
       b = a.repeat(1, 3)¬


tensor([[1., 0., 1., 0., 1., 0.],¬
[0., 1., 0., 1., 0., 1.]])¬

b.view(3*2, 2)¬

tensor([[1., 0.],¬
[1., 0.],¬
[1., 0.],¬
[0., 1.],¬
[0., 1.],¬
[0., 1.]])¬