public final class ResourceAccumulatorSetGlobalStep extends PrimitiveOp
Logs warning if the accumulator's value is already higher than new_global_step.
operation
Modifier and Type | Method and Description |
---|---|
static ResourceAccumulatorSetGlobalStep |
create(Scope scope,
Operand<?> handle,
Operand<Long> newGlobalStep)
Factory method to create a class wrapping a new ResourceAccumulatorSetGlobalStep operation.
|
equals, hashCode, op, toString
public static ResourceAccumulatorSetGlobalStep create(Scope scope, Operand<?> handle, Operand<Long> newGlobalStep)
scope
- current scopehandle
- The handle to an accumulator.newGlobalStep
- The new global_step value to set.Copyright © 2022. All rights reserved.