8000 Fix latex error in heaviside docs by peterbell10 · Pull Request #44481 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Fix latex error in heaviside docs #44481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix latex error in heaviside docs
  • Loading branch information
peterbell10 committed Sep 10, 2020
commit 6e0a3b919b6d085983f290a8e2a06f8baf754f6a
6 changes: 3 additions & 3 deletions torch/_torch_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -5885,9 +5885,9 @@ def merge_dicts(*dicts):

.. math::
\text{{heaviside}}(input, values) = \begin{cases}
\0, & \text{if input < 0}\\
\values, & \text{if input == 0}\\
\1, & \text{if input > 0}
0, & \text{if input < 0}\\
values, & \text{if input == 0}\\
1, & \text{if input > 0}
\end{cases}
""" + r"""

Expand Down
0