Эх сурвалжийг харах

minor fixes in ContextTimer

quarrying 3 жил өмнө
parent
commit
e7d9e428f5

+ 1 - 1
khandy/utils_others.py

@@ -42,7 +42,7 @@ class ContextTimer(object):
     References:
     References:
         WithTimer in https://github.com/uber/ludwig/blob/master/ludwig/utils/time_utils.py
         WithTimer in https://github.com/uber/ludwig/blob/master/ludwig/utils/time_utils.py
     """
     """
-    def __init__(self, name=None, use_log=True, quiet=False):
+    def __init__(self, name=None, use_log=False, quiet=False):
         self.use_log = use_log
         self.use_log = use_log
         self.quiet = quiet
         self.quiet = quiet
         if name is None:
         if name is None: