Spec-Zone.ru › TensorFlow C++ 2.9

tensorflow::ops::ResourceSparseApplyAdagradDA

#include <training_ops.h>

Обновляет записи в '*var' и '*accum' согласно схеме проксимального адаграда.

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

Аргументы:

  • scope: Объект Scope
  • var: Должен быть получен из Variable().
  • gradient_accumulator: Должен быть получен из Variable().
  • gradient_squared_accumulator: Должен быть получен из Variable().
  • grad: Градиент.
  • indices: Вектор индексов в первом измерении var и accum.
  • lr: Скорость обучения. Должен быть скаляром.
  • l1: L1 регуляризация. Должен быть скаляром.
  • l2: L2 регуляризация. Должен быть скаляром.
  • global_step: Номер шага обучения. Должен быть скаляром.

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

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

Возвращает:

  • созданный Operation
Конструкторы и деструкторы
ResourceSparseApplyAdagradDA(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step)
ResourceSparseApplyAdagradDA(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step, const ResourceSparseApplyAdagradDA::Attrs & attrs)
Публичные атрибуты
operation
Operation
Публичные функции
operator::tensorflow::Operation() const
Публичные статические функции
UseLocking(bool x)
Attrs
Структуры
tensorflow::ops::ResourceSparseApplyAdagradDA::Attrs

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

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

операция

Operation operation

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

ResourceSparseApplyAdagradDA

 ResourceSparseApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input indices,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step
)

ResourceSparseApplyAdagradDA

 ResourceSparseApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input indices,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step,
  const ResourceSparseApplyAdagradDA::Attrs & attrs
)

оператор::tensorflow::операция

operator::tensorflow::Operation() const 

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

ИспользоватьБлокировку

Attrs UseLocking(
  bool x
)

© 2022 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.9/api_docs/cc/class/tensorflow/ops/resource-sparse-apply-adagrad-d-a

Spec-Zone.ru

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