Skip to content

Instantly share code, notes, and snippets.

@kaniblu
Created August 20, 2020 10:55
Show Gist options
  • Save kaniblu/cc53fbba7c2f265c84dc722b1b21d451 to your computer and use it in GitHub Desktop.
Save kaniblu/cc53fbba7c2f265c84dc722b1b21d451 to your computer and use it in GitHub Desktop.
torch.randn(3, 4, 5).mm(torch.randn(5, 6)).size()
# RuntimeError: matrices expected, got 3D, 2D tensors at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment