Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76dbcb5 commit 5c0c749Copy full SHA for 5c0c749
official/resnet/cifar10_test.py
@@ -61,7 +61,7 @@ def test_dataset_input_fn(self):
61
fake_dataset = tf.data.FixedLengthRecordDataset(
62
filename, cifar10_main._RECORD_BYTES) # pylint: disable=protected-access
63
fake_dataset = fake_dataset.map(
64
- lambda val: cifar10_main.parse_record(val, False))
+ lambda val: cifar10_main.parse_record(val, False, tf.float32))
65
image, label = fake_dataset.make_one_shot_iterator().get_next()
66
67
self.assertAllEqual(label.shape, ())
0 commit comments