Go ahead with squeeze to get a 10 x 100 tensor from a 10 x 1 x 100 tensor. PyTorch has the anti-squeeze operation, called unsqueeze, which adds another fake ...
確定! 回上一頁