WARNING:tensorflow:`write_grads` will be ignored in TensorFlow 2.0 for the `TensorBoard` Callback
问题 I am using the following lines of codes to visualise the gradients of an ANN model using tensorboard tensorboard_callback = tf.compat.v1.keras.callbacks.TensorBoard(log_dir='./Graph', histogram_freq=1, write_graph = True, write_grads =True, write_images = False) tensorboard_callback .set_model(model) %tensorboard --logdir ./Graph I received a warning message saying "WARNING:tensorflow: write_grads will be ignored in TensorFlow 2.0 for the TensorBoard Callback." I get the tensorboard output,