tf.keras.callbacks.ProgbarLogger
View source on GitHub |
Callback that prints metrics to stdout.
Inherits From: Callback
tf.keras.callbacks.ProgbarLogger( count_mode='samples', stateful_metrics=None )
Arguments | |
---|---|
count_mode | One of "steps" or "samples" . Whether the progress bar should count samples seen or steps (batches) seen. |
stateful_metrics | Iterable of string names of metrics that should not be averaged over an epoch. Metrics in this list will be logged as-is. All others will be averaged over time (e.g. loss, etc). If not provided, defaults to the Model 's metrics. |
Raises | |
---|---|
ValueError | In case of invalid count_mode . |
Methods
set_model
set_model( model )
set_params
set_params( params )
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/keras/callbacks/ProgbarLogger