class_docstr: Accumulate gradients before updating weights
class_docstr_tok: ["Accumulate","gradients","before","updating","weights"]
code: def before_fit(self):
      self.count = 0
  
imports: from __future__ import annotations
  from ..basics import *
  from .progress import *
  from .fp16 import *
label_desc: Use image node_id 2 for calling the GradientAccumulation obj's underlying member method code with example usage: obj.before_fit() without return types