vjp#

bayesflow.utils.vjp(f: Callable[[Tensor], Tensor], x: Tensor, return_output: bool = False)[source]#

Compute the vector-Jacobian product of f at x.