Closed dhzdhd closed 10 months ago
Thanks @dhzdhd for raising the issue. Yeah, we'll welcome a PR with the fix that you already mention.
It would be great to check the usage of torch.norm throughout the book (search entire repo cmd+f) and replace wherever encountered.
Alright, i would like to work on this.
Unable to proceed due to https://github.com/d2l-ai/d2l-book/issues/75
The PyTorch examples in the
Norms
section of Preliminaries - Linear Algebra contain the usage oftorch.norm
.According to torch docs
torch.norm
is deprecated andtorch.linalg.vector/matrix_norm
should be used.I can help in contributing to fixing the issue if this is indeed a problem