Remove (object) from class declarations. (#6658)

This commit is contained in:
Robert Nishihara
2020-01-02 17:42:13 -08:00
committed by Philipp Moritz
parent f1b56fa5ee
commit 39a3459886
162 changed files with 397 additions and 398 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ logger = logging.getLogger(__name__)
SETUP_TIME_THRESHOLD = 10
class Trainable(object):
class Trainable:
"""Abstract class for trainable models, functions, etc.
A call to ``train()`` on a trainable will execute one logical iteration of