Skip to content

Conversation

whackashoe
Copy link

This replaces 0-dim tensors with item() to get a Python number from the tensors containing a single value.

…this replaces 0-dim tensors with item() to get a Python number from the tensors containing a single value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant