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

tf.debugging.get_log_device_placement

TensorFlow 1 version View source on GitHub

Get if device placements are logged.

tf.debugging.get_log_device_placement()

Returns:

If device placements are logged.