Modifier and Type | Class and Description |
---|---|
static class |
ResourceApplyPowerSign.Inputs<T extends TType> |
static class |
ResourceApplyPowerSign.Options
Optional attributes for
ResourceApplyPowerSign |
Modifier and Type | Field and Description |
---|---|
static String |
OP_NAME
The name of this op, as known by TensorFlow core engine
|
Constructor and Description |
---|
ResourceApplyPowerSign(Operation operation) |
Modifier and Type | Method and Description |
---|---|
static <T extends TType> |
create(Scope scope,
Operand<? extends TType> var,
Operand<? extends TType> m,
Operand<T> lr,
Operand<T> logbase,
Operand<T> signDecay,
Operand<T> beta,
Operand<T> grad,
ResourceApplyPowerSign.Options... options)
Factory method to create a class wrapping a new ResourceApplyPowerSign operation.
|
static ResourceApplyPowerSign.Options |
useLocking(Boolean useLocking)
Sets the useLocking option.
|
public static final String OP_NAME
public ResourceApplyPowerSign(Operation operation)
@Endpoint(describeByClass=true) public static <T extends TType> ResourceApplyPowerSign create(Scope scope, Operand<? extends TType> var, Operand<? extends TType> m, Operand<T> lr, Operand<T> logbase, Operand<T> signDecay, Operand<T> beta, Operand<T> grad, ResourceApplyPowerSign.Options... options)
T
- data type for ResourceApplyPowerSign
output and operandsscope
- current scopevar
- Should be from a Variable().m
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.logbase
- Must be a scalar.signDecay
- Must be a scalar.beta
- Must be a scalar.grad
- The gradient.options
- carries optional attribute valuespublic static ResourceApplyPowerSign.Options useLocking(Boolean useLocking)
useLocking
- If True
, updating of the var and m tensors is
protected by a lock; otherwise the behavior is undefined, but may exhibit less
contention.Copyright © 2015–2022. All rights reserved.