AccumulatorSetGlobalStep

public final class AccumulatorSetGlobalStep

Updates the accumulator with a new value for global_step.

Logs warning if the accumulator's value is already higher than new_global_step.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static AccumulatorSetGlobalStep
create ( Scope scope, Operand < TString > handle, Operand < TInt64 > newGlobalStep)
Factory method to create a class wrapping a new AccumulatorSetGlobalStep operation.

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "AccumulatorSetGlobalStep"

Public Methods

public static AccumulatorSetGlobalStep create ( Scope scope, Operand < TString > handle, Operand < TInt64 > newGlobalStep)

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

Parameters
scope current scope
handle The handle to an accumulator.
newGlobalStep The new global_step value to set.
Returns
  • a new instance of AccumulatorSetGlobalStep