Skip to content

Typo error: np.clip() method for numpy refered to Pytorch instead of …#83

Open
amaboh wants to merge 1 commit intofastai:masterfrom
amaboh:master
Open

Typo error: np.clip() method for numpy refered to Pytorch instead of …#83
amaboh wants to merge 1 commit intofastai:masterfrom
amaboh:master

Conversation

@amaboh
Copy link

@amaboh amaboh commented May 19, 2023

…torch.clib()

A type error is used to refer to numpy's np.clip() instead Pytorch's torch.clib() which is the alias of torch.clamp()
https://pytorch.org/docs/stable/generated/torch.clip.html?highlight=torch+clip#torch.clip

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant