TensorFlow 2.0 Beta is available Learn more

tf.debugging.set_log_device_placement

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
tf.debugging.set_log_device_placement(enabled)
View source on GitHub

Args:

  • enabled: Whether to enabled device placement logging.