pymc.SymbolicRandomVariable.L_op#
- SymbolicRandomVariable.L_op(inputs, outputs, output_grads)#
Construct a graph for the L-operator.
The L-operator computes a row vector times the Jacobian.
This method dispatches to
Op.grad()
by default. In one sense, this method provides the original outputs when they’re needed to compute the return value, whereas Op.grad doesn’t.See Op.grad for a mathematical explanation of the inputs and outputs of this method.
- Parameters:
- inputs
The inputs of the Apply node using this Op.
- outputs
The outputs of the Apply node using this Op
- output_grads
The gradients with respect to each Variable in inputs.