Fix lint errors

This commit is contained in:
Matt Conley 2019-04-16 11:28:38 -07:00
parent ac3775ae75
commit e73a77d19d
2 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ class DynamicLossScaleTest(test.TestCase, parameterized.TestCase):
self._test_helper(inputs, expected_outputs, init_loss_scale)
@test_util.run_in_graph_and_eager_modes
def test_update_with_None_gradients(self, strategy_fn):
def test_update_with_none_gradients(self, strategy_fn):
with strategy_fn().scope():
loss_scaler = loss_scale_module.DynamicLossScale()
loss_scaler.update([None])