Update docs/DifferentiableProgrammingImplementation.md

Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org>
This commit is contained in:
Philip Turner
2021-12-07 04:07:58 -08:00
committed by GitHub
parent 67677bd046
commit 643ab9377c

View File

@@ -688,7 +688,7 @@ bb3(args…, %bb3_payload_ptr):
return (%orig_result, %diff_bar_instance)
```
- Here we do the same thing as we have been doing, which is partially applying the overall bb0 struct we created in bb0:
- Here we do the same thing as we have been doing, which is partially applying the overall `StructBB0` struct we created in basic block 0:
- `%bb0_struct = alloc_stack $StructBB0`
- This has the nested differential structs for all other relevant differential structs for all other basics blocks, and we partially apply it for the differential of `m` and return the original result and differential tuple pair