Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::ResourceApplyPowerSign

#include <training_ops.h>

Обновление '*var' в соответствии с обновлением AddSign.

Краткое описание

m_t

Аргументы:

  • scope: Объект Scope
  • var: Должен быть получен из Variable().
  • m: Должен быть получен из Variable().
  • lr: Коэффициент масштабирования. Должен быть скаляром.
  • logbase: Должен быть скаляром.
  • sign_decay: Должен быть скаляром.
  • beta: Должен быть скаляром.
  • grad: Градиент.

Необязательные атрибуты (см. Attrs):

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

Возвращает:

  • созданный Operation
Конструкторы и деструкторы
ResourceApplyPowerSign(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input m, ::tensorflow::Input lr, ::tensorflow::Input logbase, ::tensorflow::Input sign_decay, ::tensorflow::Input beta, ::tensorflow::Input grad)
ResourceApplyPowerSign(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input m, ::tensorflow::Input lr, ::tensorflow::Input logbase, ::tensorflow::Input sign_decay, ::tensorflow::Input beta, ::tensorflow::Input grad, const ResourceApplyPowerSign::Attrs & attrs)
Публичные атрибуты
operation
Operation
Публичные функции
operator::tensorflow::Operation() const
Публичные статические функции
UseLocking(bool x)
Attrs
Структуры
tensorflow::ops::ResourceApplyPowerSign::Attrs

Необязательные параметры установки атрибутов для ResourceApplyPowerSign.

Публичные атрибуты

operation

Operation operation

Публичные функции

ResourceApplyPowerSign

 ResourceApplyPowerSign(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input m,
  ::tensorflow::Input lr,
  ::tensorflow::Input logbase,
  ::tensorflow::Input sign_decay,
  ::tensorflow::Input beta,
  ::tensorflow::Input grad
)

ResourceApplyPowerSign

 ResourceApplyPowerSign(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input m,
  ::tensorflow::Input lr,
  ::tensorflow::Input logbase,
  ::tensorflow::Input sign_decay,
  ::tensorflow::Input beta,
  ::tensorflow::Input grad,
  const ResourceApplyPowerSign::Attrs & attrs
)

Оператор::tensorflow::Operation

operator::tensorflow::Operation() const 

Публичные статические функции

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/r1.15/api_docs/cc/class/tensorflow/ops/resource-apply-power-sign

Spec-Zone.ru

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