Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::ResourceApplyGradientDescent

#include <training_ops.h>

Обновление '*var', вычитая из него 'alpha' * 'delta'.

Summary

Arguments:

  • scope: An object Scope
  • var: Должен быть получен из Variable().
  • alpha: Коэффициент масштабирования. Должен быть скаляром.
  • delta: Изменение.

Optional attributes (see Attrs):

  • use_locking: Если True, вычитание будет защищено блокировкой; в противном случае поведение не определено, но может иметь меньшую конкуренцию.

Returns:

  • созданная Operation
Constructors and Destructors
ResourceApplyGradientDescent(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta)
ResourceApplyGradientDescent(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta, const ResourceApplyGradientDescent::Attrs & attrs)
Public attributes
operation
Operation
Public functions
operator::tensorflow::Operation() const
Public static functions
UseLocking(bool x)
Attrs
Structs
tensorflow::ops::ResourceApplyGradientDescent::Attrs

Дополнительные атрибуты для настройки ResourceApplyGradientDescent.

Public attributes

operation

Operation operation

Public functions

ResourceApplyGradientDescent

 ResourceApplyGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input delta
)

ResourceApplyGradientDescent

 ResourceApplyGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input delta,
  const ResourceApplyGradientDescent::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 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/resource-apply-gradient-descent

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API