experimental.Signal()
, which is a special type of event listener that can be triggered from the retrain function.
Signal
that will fire an event to our inference app, which is subscribed to this Signal event.
on_start
function when retraining is finished.
You’ll notice that a Signal is registered with a handler that tells us which function to run when an event is fired.
load_latest_model
ran again.
signal.clear()
is called. It is recommended to run signal.clear()
after each signal invovocation.