@Operator(group="train") public final class ResourceSparseApplyAdadelta extends PrimitiveOp
Modifier and Type | Class and Description |
---|---|
static class |
ResourceSparseApplyAdadelta.Options
Optional attributes for
ResourceSparseApplyAdadelta |
operation
Modifier and Type | Method and Description |
---|---|
static <T,U extends Number> |
create(Scope scope,
Operand<?> var,
Operand<?> accum,
Operand<?> accumUpdate,
Operand<T> lr,
Operand<T> rho,
Operand<T> epsilon,
Operand<T> grad,
Operand<U> indices,
ResourceSparseApplyAdadelta.Options... options)
Factory method to create a class wrapping a new ResourceSparseApplyAdadelta operation.
|
static ResourceSparseApplyAdadelta.Options |
useLocking(Boolean useLocking) |
equals, hashCode, op, toString
public static <T,U extends Number> ResourceSparseApplyAdadelta create(Scope scope, Operand<?> var, Operand<?> accum, Operand<?> accumUpdate, Operand<T> lr, Operand<T> rho, Operand<T> epsilon, Operand<T> grad, Operand<U> indices, ResourceSparseApplyAdadelta.Options... options)
scope
- current scopevar
- accum
- Should be from a Variable().accumUpdate
- : Should be from a Variable().lr
- Learning rate. Must be a scalar.rho
- Decay factor. Must be a scalar.epsilon
- Constant factor. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.options
- carries optional attributes valuespublic static ResourceSparseApplyAdadelta.Options useLocking(Boolean useLocking)
useLocking
- If True, updating of the var and accum tensors will be protected by
a lock; otherwise the behavior is undefined, but may exhibit less contention.Copyright © 2022. All rights reserved.