TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tfp.experimental.substrates.jax.math.value_and_gradient

View source on GitHub

Computes f(*xs) and its gradients wrt to *xs.

Aliases:

tfp.experimental.substrates.jax.math.value_and_gradient(
    f,
    xs,
    output_gradients=None,
    use_gradient_tape=False,
    name=None
)