Skip to content

Instantly share code, notes, and snippets.

@kaniblu
Created August 20, 2020 10:37
Show Gist options
  • Save kaniblu/f2124829309754eac6db4fb13fc17329 to your computer and use it in GitHub Desktop.
Save kaniblu/f2124829309754eac6db4fb13fc17329 to your computer and use it in GitHub Desktop.
import torch
(torch.randn(3, 4) @ torch.randn(4, 5)).size() # torch.Size([3, 5])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment