Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
main
Function · 0.80
main
Function · 0.80
main
Function · 0.80
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected