SyncDevice

public final class SyncDevice

Synchronizes the device this op is run on.

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.

Public Methods

static SyncDevice
create(Scope scope)
Factory method to create a class wrapping a new SyncDevice operation.

Inherited Methods

Public Methods

public static SyncDevice create (Scope scope)

Factory method to create a class wrapping a new SyncDevice operation.

Parameters
scope current scope
Returns
  • a new instance of SyncDevice