Missed TensorFlow World? Check out the recap. Learn more

tf.debugging.set_log_device_placement

TensorFlow 2.0 version View source on GitHub

Set if device placements should be logged.

Aliases:

  • tf.compat.v1.debugging.set_log_device_placement
  • tf.compat.v2.debugging.set_log_device_placement
tf.debugging.set_log_device_placement(enabled)

Args:

  • enabled: Whether to enabled device placement logging.