code: def __call__(self, trainer):
      optimizers = trainer.updater.get_all_optimizers()
      for name, optimizer in optimizers.items():
          target = optimizer.target
          xp = target.xp
          for param in target.params():
              if not xp.isfinite(param.array).all():
                  raise RuntimeError(
                      "Kill the process since parameters in optimizer"
                      " '{}' diverge. R.I.P.".format(name)
                  )
  
label_desc: Use image node_id 1 for calling the FailOnNonNumber obj's underlying member method code with example usage: obj.__call__(trainer) without return types