Spec-Zone.ru › TensorFlow C++ 2.4

tensorflow::ops::ApplyPowerSign

#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 защищено блокировкой; в противном случае поведение не определено, но может быть менее конкурентноспособным.

Возвращает:

  • Output: Такой же, как "var".
Конструкторы и деструкторы
ApplyPowerSign(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)
ApplyPowerSign(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 ApplyPowerSign::Attrs & attrs)
Публичные атрибуты
operation
Operation
out
::tensorflow::Output
Публичные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Публичные статические функции
UseLocking(bool x)
Attrs
Структуры
tensorflow::ops::ApplyPowerSign::Attrs

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

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

operation

Operation operation

out

::tensorflow::Output out

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

ApplyPowerSign

 ApplyPowerSign(
  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
)

ApplyPowerSign

 ApplyPowerSign(
  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 ApplyPowerSign::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

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

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/apply-power-sign

Spec-Zone.ru

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