Skip to content
Snippets Groups Projects
Commit 56098e15 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fix typos in index.rst

parent 32c10edf
No related branches found
No related tags found
No related merge requests found
Pipeline #17053 failed
...@@ -53,7 +53,7 @@ You can then obtain the corresponding backward assignments: ...@@ -53,7 +53,7 @@ You can then obtain the corresponding backward assignments:
from pystencils.autodiff import AutoDiffOp, create_backward_assignments from pystencils.autodiff import AutoDiffOp, create_backward_assignments
backward_assignments = create_backward_assignments(forward_assignments) backward_assignments = create_backward_assignments(forward_assignments)
# Sorting for reprducible outputs # Sorting for reprudcible outputs
backward_assignments.main_assignments = sorted(backward_assignments.main_assignments, key=lambda a: str(a)) backward_assignments.main_assignments = sorted(backward_assignments.main_assignments, key=lambda a: str(a))
print(backward_assignments) print(backward_assignments)
...@@ -68,7 +68,7 @@ You can see the derivatives with respective to the two inputs multiplied by the ...@@ -68,7 +68,7 @@ You can see the derivatives with respective to the two inputs multiplied by the
\hat{x}[0,0] ← diffz_C*y_C/x_C \hat{x}[0,0] ← diffz_C*y_C/x_C
\hat{y}[0,0] ← diffz_C*(log(x_C*y_C) + 1) \hat{y}[0,0] ← diffz_C*(log(x_C*y_C) + 1)
You can also use the class :class:`.AutoDiffOp` to obtain both the assignments (if you are curious) and auto-differentiable operations for Tensorflow... You can also use the class :class:`.autodiff.AutoDiffOp` to obtain both the assignments (if you are curious) and auto-differentiable operations for Tensorflow...
.. testcode:: .. testcode::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment