Skip to content

Instantly share code, notes, and snippets.

@monk1337
Created June 7, 2018 15:35
Show Gist options
  • Save monk1337/77f2dba0e0ede8eba077379e6dc74652 to your computer and use it in GitHub Desktop.
Save monk1337/77f2dba0e0ede8eba077379e6dc74652 to your computer and use it in GitHub Desktop.
print(tensor.size())
# output:
# torch.Size([4, 3])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment