MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / __init__

Method __init__

tensorflow/python/keras/callbacks.py:710–718  ·  view source on GitHub ↗
(self, count_mode='samples', stateful_metrics=None)

Source from the content-addressed store, hash-verified

708 """
709
710 def __init__(self, count_mode='samples', stateful_metrics=None):
711 super(ProgbarLogger, self).__init__()
712 if count_mode == 'samples':
713 self.use_steps = False
714 elif count_mode == 'steps':
715 self.use_steps = True
716 else:
717 raise ValueError('Unknown `count_mode`: ' + str(count_mode))
718 self.stateful_metrics = set(stateful_metrics or [])
719
720 def on_train_begin(self, logs=None):
721 self.verbose = self.params['verbose']

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected