tf.debugging.get_log_device_placement

TensorFlow 2 version View source on GitHub

Get if device placements are logged.

If device placements are logged.