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

Method load

point_e/evals/npz_stream.py:171–174  ·  view source on GitHub ↗
(cls, path: str, arr_name: str)

Source from the content-addressed store, hash-verified

169
170 @classmethod
171 def load(cls, path: str, arr_name: str):
172 with open(path, "rb") as f:
173 arr = np.load(f)[arr_name]
174 return cls(arr)
175
176 def read_batch(self, batch_size: int) -> Optional[np.ndarray]:
177 if self.idx >= self.arr.shape[0]:

Callers 1

open_npz_arraysFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected