ResourceAccumulatorSetGlobalStep

public final class ResourceAccumulatorSetGlobalStep

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 ResourceAccumulatorSetGlobalStep
create ( Scope scope, Operand <?> handle, Operand < TInt64 > newGlobalStep)
Factory method to create a class wrapping a new ResourceAccumulatorSetGlobalStep operation.

Inherited Methods

Constants

public static final String OP_NAME

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

Constant Value: "ResourceAccumulatorSetGlobalStep"

Public Methods

public static ResourceAccumulatorSetGlobalStep create ( Scope scope, Operand <?> handle, Operand < TInt64 > newGlobalStep)

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

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