@Operator public final class AssignSubVariableOp extends PrimitiveOp
Any ReadVariableOp with a control dependency on this op is guaranteed to see the decremented value or a subsequent newer one.
operation| Modifier and Type | Method and Description |
|---|---|
static <T> AssignSubVariableOp |
create(Scope scope,
Operand<?> resource,
Operand<T> value)
Factory method to create a class to wrap a new AssignSubVariableOp operation to the graph.
|
equals, hashCode, toStringpublic static <T> AssignSubVariableOp create(Scope scope, Operand<?> resource, Operand<T> value)
scope - current graph scoperesource - handle to the resource in which to store the variable.value - the value by which the variable will be incremented.Copyright © 2015–2019. All rights reserved.