Class for choosing which Op to run next.
Constructs an infinitely repeating sequence of Ops in shuffled order.
In K-FAC, this can be used to distribute inverse update operations among workers.
Ops this OpQueue can return in next_op().
__init__( ops, seed=None )
Initializes an OpQueue.
ops: list of TensorFlow Ops. Ops to be selected from. All workers must initialize with the same set of ops.
seed: int or None. Random seed used when shuffling order of ops.
Chooses which op to run next.
Next Op chosen from 'ops'.