We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a96a779 + f0fc594 commit a4746a1Copy full SHA for a4746a1
src/gen_fn_interface.jl
@@ -366,7 +366,10 @@ the values of these choices:
366
```math
367
∇_A \\left( \\log P(t; x) + J \\right)
368
```
369
-Also return the assignment (`choice_values`) that is the restriction of \$t\$ to \$A\$.
+The gradient is represented as a choicemap whose value at (hierarchical)
370
+address `addr` is \$∂J/∂t[\\texttt{addr}]\$.
371
+
372
+Also return the choicemap (`choice_values`) that is the restriction of \$t\$ to \$A\$.
373
"""
374
function choice_gradients(trace, selection::Selection, retgrad)
375
error("Not implemented")
0 commit comments