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

Method test_tfrecord

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

Source from the content-addressed store, hash-verified

70 'Skip test_lmdb, no lmdb available')
71
72 def test_tfrecord(self):
73 with tempfile.TemporaryDirectory() as f:
74 self.run_write_read_test(
75 os.path.join(f, 'test.tfrecord'),
76 TFRecordSerializer,
77 {}, {},
78 {}, {'size': 32},
79 'Skip test_tfrecord, no tensorflow available')
80
81 def test_numpy(self):
82 with tempfile.TemporaryDirectory() as f:

Callers

nothing calls this directly

Calls 2

run_write_read_testMethod · 0.95
joinMethod · 0.80

Tested by

no test coverage detected