MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / get_test_data

Function get_test_data

examples/SimilarityLearning/embedding_data.py:10–13  ·  view source on GitHub ↗
(batch=128)

Source from the content-addressed store, hash-verified

8
9
10def get_test_data(batch=128):
11 ds = dataset.Mnist('test')
12 ds = BatchData(ds, batch)
13 return ds
14
15
16def get_digits_by_label(images, labels):

Callers 1

visualizeFunction · 0.90

Calls 1

BatchDataClass · 0.90

Tested by

no test coverage detected