Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Bugged if statement #410

@hjalmarlucius

Description

@hjalmarlucius

Reading up on the repo and came across this codeline with an if statement that looks bugged. Changing getattr to hasattr should fix things.

if getattr(torch.Tensor, name):

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