<!--
This file is generated by a tool. Do not edit directly.
For open-source contributions the docs will be updated automatically.
-->

*Last updated: 2023-03-16.*

<div itemscope itemtype="http://developers.google.com/ReferenceObject">
<meta itemprop="name" content="tf_quant_finance.math.optimizer.converged_any" />
<meta itemprop="path" content="Stable" />
</div>

# tf_quant_finance.math.optimizer.converged_any

<!-- Insert buttons and diff -->

<table class="tfo-notebook-buttons tfo-api" align="left">
</table>



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

```python
tf_quant_finance.math.optimizer.converged_any(
    converged, failed
)
```



<!-- Placeholder for "Used in" -->
