@Operator 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 to wrap a new AccumulatorSetGlobalStep operation to the graph.
|
equals, hashCode, toStringpublic static AccumulatorSetGlobalStep create(Scope scope, Operand<String> handle, Operand<Long> newGlobalStep)
scope - current graph scopehandle - The handle to an accumulator.newGlobalStep - The new global_step value to set.Copyright © 2015–2019. All rights reserved.