@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, toStringpublic 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 © 2015–2019. All rights reserved.