class_docstr: Judge convergence by the difference between two iterations.
  If the difference is smaller than eps, converge flag will be provided.
class_docstr_tok: ["Judge","convergence","by","the","difference","between","two","iterations",".","If","the","difference","is","smaller","than","eps",",","converge","flag","will","be","provided","."]
code: def __init__(self, eps):
      super().__init__(eps=eps)
      self.pre_loss = None
  
file_path: FATE/python/fate/ml/utils/_convergence.py
imports: import logging
  import torch
label_desc: Use image node_id 1 to create a new _DiffConverge object from inherited base classes: _ConvergeFunction with example: obj = _DiffConverge(eps)