MCPcopy
hub / github.com/microsoft/Swin-Transformer / set_epoch

Method set_epoch

data/samplers.py:28–29  ·  view source on GitHub ↗
(self, epoch)

Source from the content-addressed store, hash-verified

26 return len(self.indices)
27
28 def set_epoch(self, epoch):
29 self.epoch = epoch

Callers 4

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected