@Operator(group="train") public final class AccumulatorSetGlobalStep extends PrimitiveOp
Logs warning if the accumulator's value is already higher than new_global_step.
operation
Modifier and Type | Method and Description |
---|---|
static AccumulatorSetGlobalStep |
create(Scope scope,
Operand<String> handle,
Operand<Long> newGlobalStep)
Factory method to create a class wrapping a new AccumulatorSetGlobalStep operation.
|
equals, hashCode, op, toString
public static AccumulatorSetGlobalStep create(Scope scope, Operand<String> 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.