MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / step

Method step

detectron2/utils/events.py:416–423  ·  view source on GitHub ↗

User should either: (1) Call this function to increment storage.iter when needed. Or (2) Set `storage.iter` to the correct iteration number before each iteration. The storage will then be able to associate the new data with an iteration number.

(self)

Source from the content-addressed store, hash-verified

414 return self._smoothing_hints
415
416 def step(self):
417 """
418 User should either: (1) Call this function to increment storage.iter when needed. Or
419 (2) Set `storage.iter` to the correct iteration number before each iteration.
420
421 The storage will then be able to associate the new data with an iteration number.
422 """
423 self._iter += 1
424
425 @property
426 def iter(self):

Callers 6

do_trainFunction · 0.45
optimizer_wgc_stepFunction · 0.45
after_stepMethod · 0.45
after_stepMethod · 0.45
run_stepMethod · 0.45
run_stepMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected