MCPcopy Index your code
hub / github.com/pytorch/pytorch / reset

Method reset

caffe2/python/dataset.py:78–79  ·  view source on GitHub ↗
(self, net)

Source from the content-addressed store, hash-verified

76 fields=self.dataset.fields)
77
78 def reset(self, net):
79 net.ResetCursor([self.cursor], [])
80
81 def computeoffset(self, net):
82 self.reset(net)

Callers 2

computeoffsetMethod · 0.95
sort_and_shuffleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected