contrib.keras.utils.Progbar

tf.contrib.keras.utils.Progbar

class tf.contrib.keras.utils.Progbar

Defined in tensorflow/contrib/keras/python/keras/utils/generic_utils.py.

Displays a progress bar.

Arguments:

target: Total number of steps expected.
interval: Minimum visual progress update interval (in seconds).

Methods

__init__

__init__(
    target,
    width=30,
    verbose=1,
    interval=0.05
)

add

add(
    n,
    values=None
)

update

update(
    current,
    values=None,
    force=False
)

Updates the progress bar.

Arguments:

current: Index of current step.
values: List of tuples (name, value_for_last_step).
    The progress bar will display averages for these values.
force: Whether to force visual progress update.

© 2017 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/api_docs/python/tf/contrib/keras/utils/Progbar

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部