Skip to content

Commit

Permalink
Fix formatting error in set_deterministic documentation (#49136)
Browse files Browse the repository at this point in the history
Summary:
Fixes formatting error that was preventing a bulleted list from being displayed properly

Pull Request resolved: #49136

Reviewed By: zou3519

Differential Revision: D25493130

Pulled By: mruberry

fbshipit-source-id: 7fc21e0e2cfa9465a60d2d43b805164316375f01
  • Loading branch information
kurtamohler authored and facebook-github-bot committed Dec 14, 2020
1 parent 38ed398 commit fdadfb6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions torch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,13 @@ def set_deterministic(d):
* :class:`torch.nn.FractionalMaxPool2d` when called on a CUDA tensor that requires grad
* :class:`torch.nn.FractionalMaxPool3d` when called on a CUDA tensor that requires grad
* :func:`torch.nn.functional.interpolate` when called on a CUDA tensor that requires grad
and one of the following modes is used:
- `linear`
- `bilinear`
- `bicubic`
- `trilinear`
and one of the following modes is used:
- `linear`
- `bilinear`
- `bicubic`
- `trilinear`
* :class:`torch.nn.ReflectionPad1d` when called on a CUDA tensor that requires grad
* :class:`torch.nn.ReflectionPad2d` when called on a CUDA tensor that requires grad
* :class:`torch.nn.ReplicationPad1d` when called on a CUDA tensor that requires grad
Expand Down

0 comments on commit fdadfb6

Please sign in to comment.