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 0340172 commit 0605ba6Copy full SHA for 0605ba6
scenic/dataset_lib/tests/test_dataset_utils.py
@@ -74,6 +74,7 @@ def make_fake_batches():
74
self.assertEqual(outputs['batch_mask'].shape,
75
(desired_bs,) + batch_mask_shape)
76
if pre_padding_mask:
77
+ assert complete_batch_mask is not None
78
self.assertEqual(outputs['batch_mask'].sum(), complete_batch_mask.sum())
79
else:
80
self.assertEqual(outputs['batch_mask'].sum(),
@@ -104,6 +105,7 @@ def make_fake_batches():
104
105
106
107
108
109
110
111
0 commit comments