MCPcopy Create free account
hub / github.com/openai/point-e / __init__

Method __init__

point_e/evals/npz_stream.py:143–147  ·  view source on GitHub ↗
(self, arr_f, shape, dtype)

Source from the content-addressed store, hash-verified

141
142class StreamingNpzArrayReader(NpzArrayReader):
143 def __init__(self, arr_f, shape, dtype):
144 self.arr_f = arr_f
145 self.shape = shape
146 self.dtype = dtype
147 self.idx = 0
148
149 def read_batch(self, batch_size: int) -> Optional[np.ndarray]:
150 if self.idx >= self.shape[0]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected