tf.keras.callbacks.TensorBoard

View source on GitHub

Enable visualizations for TensorBoard.

Inherits From: Callback

tf.keras.callbacks.TensorBoard(
    log_dir='logs', histogram_freq=0, write_graph=True, write_images=False,
    update_freq='epoch', profile_batch=2, embeddings_freq=0,
    embeddings_metadata=None, **kwargs
)

TensorBoard is a visualization tool provided with TensorFlow.

This callback logs events for TensorBoard, including:

If you have installed TensorFlow with pip, you should be able to launch TensorBoard from the command line:

tensorboard --logdir=path_to_your_logs

You can find more information about TensorBoard here.

Arguments:

Raises:

Methods

set_model

View source

set_model(
    model
)

Sets Keras model and writes graph if specified.

set_params

View source

set_params(
    params
)