class_docstr: Worker class of LOBPCG methods.
class_docstr_tok: ["Worker","class","of","LOBPCG","methods","."]
docstr: Return True to stop iterations.
  
  Note that tracker (if defined) can force-stop iterations by
  setting ``worker.bvars['force_stop'] = True``.
docstr_tok: ["Return","True","to","stop","iterations",".","Note","that","tracker","(","if","defined",")","can","force-stop","iterations","by","setting","``","worker.bvars","[","'force_stop","'","]","=","True","``","."]
code: def stop_iteration(self):
      """Return True to stop iterations.
  
      Note that tracker (if defined) can force-stop iterations by
      setting ``worker.bvars['force_stop'] = True``.
      """
      return (
          self.bvars.get("force_stop", False)
          or self.ivars["iterations_left"] == 0
          or self.ivars["converged_count"] >= self.iparams["k"]
      )
  
imports: from typing import Dict, Optional, Tuple
  import torch
  from torch import Tensor
  from .None import _linalg_utils
  from .overrides import handle_torch_function, has_torch_function
label_desc: Use image node_id 6 for calling the LOBPCG obj's underlying member method code with example usage: obj.stop_iteration() and returns: unknown