# Define the log directory log_dir = "/content/logs" # You can modify this path # Create a TensorBoard callback tensorboard_callback = tf.keras.callbacks.TensorBoard(log_dir=log_dir, histogram_freq=1) __ __