Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Conversation

mtfelix
Copy link

@mtfelix mtfelix commented Sep 6, 2019

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant