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

Bugged if statement #410

Open
hjalmarlucius opened this issue Jun 7, 2021 · 0 comments
Open

Bugged if statement #410

hjalmarlucius opened this issue Jun 7, 2021 · 0 comments

Comments

@hjalmarlucius
Copy link

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):

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant