Announcing the TensorFlow Dev Summit 2020 Learn more

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.