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

Method get_data

examples/SimilarityLearning/mnist-embeddings.py:311–314  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

309class CenterModel(EmbeddingModel):
310 @staticmethod
311 def get_data():
312 ds = dataset.Mnist('train')
313 ds = BatchData(ds, 128)
314 return ds
315
316 def inputs(self):
317 return [tf.TensorSpec((None, 28, 28), tf.float32, 'input'),

Callers 4

WGAN.pyFile · 0.45
BEGAN.pyFile · 0.45
Improved-WGAN.pyFile · 0.45
get_configFunction · 0.45

Calls 1

BatchDataClass · 0.85

Tested by

no test coverage detected