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

Update train.py #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update train.py #138

wants to merge 1 commit into from

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant