Commit d945e99f authored by Toby Boyd's avatar Toby Boyd
Browse files

fix some lint errors.

parent 863a44ce
...@@ -21,7 +21,7 @@ from __future__ import print_function ...@@ -21,7 +21,7 @@ from __future__ import print_function
import time import time
from absl import flags from absl import flags
import numpy as np import numpy as np # pylint: disable=g-bad-import-order
import tensorflow as tf # pylint: disable=g-bad-import-order import tensorflow as tf # pylint: disable=g-bad-import-order
from tensorflow.python.keras.optimizer_v2 import gradient_descent as gradient_descent_v2 from tensorflow.python.keras.optimizer_v2 import gradient_descent as gradient_descent_v2
...@@ -207,4 +207,3 @@ def get_synth_input_fn(height, width, num_channels, num_classes, ...@@ -207,4 +207,3 @@ def get_synth_input_fn(height, width, num_channels, num_classes,
return data return data
return input_fn return input_fn
...@@ -72,4 +72,3 @@ class KerasCommonTests(tf.test.TestCase): ...@@ -72,4 +72,3 @@ class KerasCommonTests(tf.test.TestCase):
def _build_eval_output(self, top_1, eval_loss): def _build_eval_output(self, top_1, eval_loss):
eval_output = [np.float64(eval_loss), np.float64(top_1)] eval_output = [np.float64(eval_loss), np.float64(top_1)]
return eval_output return eval_output
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment