Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.debugging.set_log_device_placement

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)

Used in the guide:

Args:

  • enabled: Whether to enabled device placement logging.