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.

Public Methods

static ResourceAccumulatorSetGlobalStep
create(Scope scope, Operand<?> handle, Operand<Long> newGlobalStep)
Factory method to create a class wrapping a new ResourceAccumulatorSetGlobalStep operation.

Inherited Methods

org.tensorflow.op.PrimitiveOp
final boolean
equals(Object obj)
final int
Operation
op()
Returns the underlying Operation
final String
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public static ResourceAccumulatorSetGlobalStep create (Scope scope, Operand<?> handle, Operand<Long> 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