Skip to content

Typo instantiating loss at zero #844

Closed
@aymebou

Description

@aymebou

Hello folks at Pytorch,

When instantiating loss at a real zero, i think you rather meant something like (i don't know if there is a better way but I usually do it this way) :

loss = torch.autograd.Variable(torch.Tensor([0]))

Metadata

Metadata

Assignees

Labels

TextIssues relating to text tutorialsdocathon-h1-2023A label for the docathon in H1 2023easy

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions