Skip to content

Commit

Permalink
Merge pull request torch#569 from yangky11/patch-2
Browse files Browse the repository at this point in the history
Update maths.md
  • Loading branch information
soumith committed Feb 27, 2016
2 parents b105bdd + d1f8267 commit d74fdce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/maths.md
Original file line number Diff line number Diff line change
Expand Up @@ -1673,7 +1673,7 @@ Note that many of the operations in [dimension-wise operations](#torch.columnwis
<a name="torch.renorm"></a>
### torch.renorm([res], x, p, dim, maxnorm) ###

Renormalizes the sub-`Tensor`s along dimension `dim` such that they exceed norm `maxnorm`.
Renormalizes the sub-`Tensor`s along dimension `dim` such that they do not exceed norm `maxnorm`.

`y = torch.renorm(x, p, dim, maxnorm)` returns a version of `x` with `p`-norms lower than `maxnorm` over non-`dim` dimensions.
The `dim` argument is not to be confused with the argument of the same name in function [`norm`](#torch.norm).
Expand Down

0 comments on commit d74fdce

Please sign in to comment.