MCPcopy Create free account
hub / github.com/NineAbyss/ZeroG / process

Method process

code/dataset_benchmark.py:302–306  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

300 os.unlink(path)
301
302 def process(self):
303 file_path = os.path.join(self.raw_dir, self.raw_file_names[0])
304 data = torch.load(file_path)
305 data = data if self.pre_transform is None else self.pre_transform(data)
306 self.save([data], self.processed_paths[0])
307
308
309# ======================================================================

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected