public interface DifferentiableDPOperator extends DPOperator
DPOperator
that is differentiable.Modifier and Type | Method and Description |
---|---|
FunctionGradient |
gradient(double[] qs,
FunctionGradient[] qGradients)
Returns the gradient of this DP operator, giving the Q-values on which it operates, their gradient.
|
apply
FunctionGradient gradient(double[] qs, FunctionGradient[] qGradients)
qs
- the q-valuesqGradients
- the gradients of the Q-value