MCPcopy Create free account
hub / github.com/FreeformRobotics/OTS / __init__

Method __init__

lib/utils/data/sampler.py:112–115  ·  view source on GitHub ↗
(self, sampler, batch_size, drop_last)

Source from the content-addressed store, hash-verified

110 """
111
112 def __init__(self, sampler, batch_size, drop_last):
113 self.sampler = sampler
114 self.batch_size = batch_size
115 self.drop_last = drop_last
116
117 def __iter__(self):
118 batch = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected