TensorFlow 2.0 Beta is available Learn more

tfp.optimizer.converged_any

Condition to stop when any batch member converges, or all have failed.

tfp.optimizer.converged_any(
    converged,
    failed
)

Defined in python/optimizer/bfgs_utils.py.