Skip to content

Feedback about Visualizing Gradients -- randint(10,(10,)) issue #3917

@wuzm2k05

Description

@wuzm2k05

There is the following issue on this page: https://docs.pytorch.org/tutorials/intermediate/visualizing_gradients_tutorial.html

got error when executing the following code:

y = torch.randint(10, (10, ))

IMHO it should be:

y = torch.randint(10, 10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions