Skip to content

Conversation

fangrenfu
Copy link

Use tensor.item() to convert a 0-dim tensor to a Python number

Use tensor.item() to convert a 0-dim tensor to a Python number
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