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 cf9f492 commit 6840eb4Copy full SHA for 6840eb4
tf_keras/applications/applications_test.py
@@ -150,13 +150,11 @@
150
151
152
class ApplicationsTest(tf.test.TestCase, parameterized.TestCase):
153
- @classmethod
154
- def setUpClass(cls):
155
- cls.original_image_data_format = backend.image_data_format()
+ def setUp(self):
+ self.original_image_data_format = backend.image_data_format()
156
157
158
- def tearDownClass(cls):
159
- backend.set_image_data_format(cls.original_image_data_format)
+ def tearDown(self):
+ backend.set_image_data_format(self.original_image_data_format)
160
161
@classmethod
162
def assertShapeEqual(cls, shape1, shape2):
0 commit comments