TensorFlow 2.0 Beta is available Learn more

tf.debugging.get_log_device_placement

Get if device placements are logged.

Aliases:

  • tf.compat.v1.debugging.get_log_device_placement
  • tf.compat.v2.debugging.get_log_device_placement
  • tf.debugging.get_log_device_placement
tf.debugging.get_log_device_placement()

Defined in python/eager/context.py.

Returns:

If device placements are logged.