1.

For x = torch.Tensor([1, 2, 3, 4]), after x = torch.unsqueeze(x, 0) x will be of the shape _______.

Answer»

For x = torch.Tensor([1, 2, 3, 4]), after x = torch.unsqueeze(x, 0) x will be of the shape _______.
Please CHOOSE the correct option from below list
(1)1 x 4
(2)1 x 1 x 4
(3)2 x 2
(4)1 x 4 x 1

Answer:-(1)1 x 4



Discussion

No Comment Found