tf.raw_ops.SyncDevice

Synchronizes the device this op is run on.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.raw_ops.SyncDevice

Only GPU ops are asynchrous in TensorFlow, and so this only has an effect when run on GPUs. On GPUs, this op synchronizes the GPU's compute stream.

name A name for the operation (optional).

The created Operation.