@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 wrapping a new AssignSubVariableOp operation.
|
equals, hashCode, op, toString
public static <T> AssignSubVariableOp create(Scope scope, Operand<?> resource, Operand<T> value)
scope
- current scoperesource
- handle to the resource in which to store the variable.value
- the value by which the variable will be incremented.Copyright © 2022. All rights reserved.