CompositeStopper¶
gepa.utils.stop_condition.CompositeStopper(*stoppers: StopperProtocol, mode: Literal['any', 'all'] = 'any')
¶
Bases: StopperProtocol
Stop callback that combines multiple stopping conditions.
Allows combining several stoppers and stopping when any or all of them are triggered.