@Operator 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 to wrap a new ResourceSparseApplyAdadelta operation to the graph.
|
static ResourceSparseApplyAdadelta.Options |
useLocking(Boolean useLocking) |
equals, hashCode, toStringpublic 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 graph 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 © 2015–2019. All rights reserved.