tensorflow::ops::ResourceSparseApplyAdadelta
#include <training_ops.h>
var: Should be from a Variable().
Summary
Arguments:
- scope: A Scope object
- accum: Should be from a Variable().
- accum_update: : 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.
Optional attributes (see Attrs
):
- use_locking: 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.
Returns:
- the created
Operation
Constructors and Destructors | |
---|---|
ResourceSparseApplyAdadelta(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input accum, ::tensorflow::Input accum_update, ::tensorflow::Input lr, ::tensorflow::Input rho, ::tensorflow::Input epsilon, ::tensorflow::Input grad, ::tensorflow::Input indices) | |
ResourceSparseApplyAdadelta(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input accum, ::tensorflow::Input accum_update, ::tensorflow::Input lr, ::tensorflow::Input rho, ::tensorflow::Input epsilon, ::tensorflow::Input grad, ::tensorflow::Input indices, const ResourceSparseApplyAdadelta::Attrs & attrs) |
Public attributes | |
---|---|
operation |
Public functions | |
---|---|
operator::tensorflow::Operation() const |
Public static functions | |
---|---|
UseLocking(bool x) |
Structs | |
---|---|
tensorflow::ops::ResourceSparseApplyAdadelta::Attrs | Optional attribute setters for ResourceSparseApplyAdadelta. |
Public attributes
operation
Operation operation
Public functions
ResourceSparseApplyAdadelta
ResourceSparseApplyAdadelta( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input accum, ::tensorflow::Input accum_update, ::tensorflow::Input lr, ::tensorflow::Input rho, ::tensorflow::Input epsilon, ::tensorflow::Input grad, ::tensorflow::Input indices )
ResourceSparseApplyAdadelta
ResourceSparseApplyAdadelta( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input accum, ::tensorflow::Input accum_update, ::tensorflow::Input lr, ::tensorflow::Input rho, ::tensorflow::Input epsilon, ::tensorflow::Input grad, ::tensorflow::Input indices, const ResourceSparseApplyAdadelta::Attrs & attrs )
operator::tensorflow::Operation
operator::tensorflow::Operation() const
Public static functions
UseLocking
Attrs UseLocking( bool x )
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/resource-sparse-apply-adadelta