Skip to content

Commit 81a2624

Browse files
Update docs/DifferentiableProgrammingImplementation.md
Co-authored-by: Saleem Abdulrasool <[email protected]>
1 parent 2209a76 commit 81a2624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/DifferentiableProgrammingImplementation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ Here is the pseudocode of the main logic of the differentiation transform.
830830
- If `differentiable_function` has JVP and VJP values, do nothing. It is already canonical.
831831
- If `differentiable_function` is missing JVP and VJP:
832832
- If the `differentiable_function`’s original function operand is an `differentiable_function_extract [original]` instruction, get the operand of that instruction. Do `differentiable_function_extract [jvp/vjp]` instruction from that operand to get the JVP/VJP. Continue.
833-
- Otherwise, get the original function reference (`function_ref`, `witness_method`, or `class_method` instruction) underlying the `differentiable_function`’s original function operand.
833+
- Otherwise, get the "original function reference" (`function_ref`, `witness_method`, or `class_method` instruction) underlying the `differentiable_function`’s original function operand.
834834
- Look up a `@differentiable` declaration attribute on the “original function reference” whose parameter indices are a minimal superset of the `differentiable_function`’s parameter indices.
835835
- If no such attribute exists, create an empty attribute with the `differentiable_function`’s parameter indices.
836836
- Process the minimal superset SIL differentiability witness:

0 commit comments

Comments
 (0)