Try to pacify pylint.
This commit is contained in:
parent
93ce587122
commit
9274fe4678
@ -757,8 +757,8 @@ class DefFunctionTest(test.TestCase, parameterized.TestCase):
|
|||||||
(None, 'foo.bar'), # implements
|
(None, 'foo.bar'), # implements
|
||||||
(None, True, False), # relax_shapes
|
(None, True, False), # relax_shapes
|
||||||
))
|
))
|
||||||
def test_pickle(self, input_signature, autograph, autograph_options, implements,
|
def test_pickle(self, input_signature, autograph, autograph_options,
|
||||||
relax_shapes):
|
implements, relax_shapes):
|
||||||
"""@function objects can be pickled and unpickled."""
|
"""@function objects can be pickled and unpickled."""
|
||||||
# Can't pickle functions in __main__:
|
# Can't pickle functions in __main__:
|
||||||
from tensorflow.python.eager.def_function_test import undecorated_function
|
from tensorflow.python.eager.def_function_test import undecorated_function
|
||||||
|
Loading…
Reference in New Issue
Block a user