Question 1: Short answer
easyAI-checkedPyTorchX = torch.rand(7, 7)
Y = torch.rand(1, 7)
Z = torch.matmul(X, Y.T)
torch.matmul(X, Y) would raise a shape error. What is the shape of Z?
4 questions from PyTorch
4 questions · 4 min · score and explanations at the end
X = torch.rand(7, 7)
Y = torch.rand(1, 7)
Z = torch.matmul(X, Y.T)
torch.matmul(X, Y) would raise a shape error. What is the shape of Z?