MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / test_label_data_preprocess

Method test_label_data_preprocess

python/graphvite/dataset.py:852–855  ·  view source on GitHub ↗
(self, raw_path, save_file)

Source from the content-addressed store, hash-verified

850 return self.load_images(batch_file)
851
852 def test_label_data_preprocess(self, raw_path, save_file):
853 meta_file = os.path.join(raw_path, "cifar-10-batches-bin/batches.meta.txt")
854 batch_file = os.path.join(raw_path, "cifar-10-batches-bin/test_batch.bin")
855 return self.load_labels(meta_file, batch_file)
856
857 def image_data_preprocess(self, save_file):
858 return np.concatenate([self.train_image_data, self.test_image_data])

Callers

nothing calls this directly

Calls 1

load_labelsMethod · 0.95

Tested by

no test coverage detected