Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytorch/vision
/ set_epoch
Method
set_epoch
references/classification/sampler.py:61–62 ·
view source on GitHub ↗
(self, epoch)
Source
from the content-addressed store, hash-verified
59
return
self.num_selected_samples
60
61
def
set_epoch(self, epoch):
62
self.epoch = epoch
Callers
5
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected