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

Method test_numpy

tensorpack/dataflow/serialize_test.py:81–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79 'Skip test_tfrecord, no tensorflow available')
80
81 def test_numpy(self):
82 with tempfile.TemporaryDirectory() as f:
83 self.run_write_read_test(
84 os.path.join(f, 'test.npz'),
85 NumpySerializer,
86 {}, {},
87 {}, {'shuffle': False},
88 'Skip test_numpy, no numpy available')
89
90 def test_hdf5(self):
91 args = [['label', 'image']]

Callers

nothing calls this directly

Calls 2

run_write_read_testMethod · 0.95
joinMethod · 0.80

Tested by

no test coverage detected