tensorflow :: ops :: ResourceApplyAdagradDA
#include <training_ops.h>
Zaktualizuj „* var” zgodnie z proksymalnym schematem Adagrad.
streszczenie
Argumenty:
- zakres: obiekt Scope
- zmienna: powinna pochodzić ze zmiennej ().
- gradient_accumulator: powinien pochodzić ze zmiennej ().
- gradient_squared_accumulator: powinien pochodzić ze zmiennej ().
- grad: gradient.
- lr: współczynnik skalowania. Musi być skalarem.
- l1: regularyzacja L1. Musi być skalarem.
- l2: regularyzacja L2. Musi być skalarem.
- global_step: Numer kroku szkolenia. Musi być skalarem.
Atrybuty opcjonalne (patrz Attrs
):
- use_locking: Jeśli True, aktualizacja tensorów var i accum będzie chroniona blokadą; w przeciwnym razie zachowanie jest niezdefiniowane, ale może wykazywać mniej rywalizacji.
Zwroty:
- utworzonej
Operation
Konstruktorzy i niszczyciele | |
---|---|
ResourceApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step) | |
ResourceApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step, const ResourceApplyAdagradDA::Attrs & attrs) |
Atrybuty publiczne | |
---|---|
operation |
Funkcje publiczne | |
---|---|
operator::tensorflow::Operation () const |
Publiczne funkcje statyczne | |
---|---|
UseLocking (bool x) |
Struktury | |
---|---|
tensorflow :: ops :: ResourceApplyAdagradDA :: Attrs | Opcjonalne metody ustawiające atrybuty dla ResourceApplyAdagradDA . |
Atrybuty publiczne
operacja
Operation operation
Funkcje publiczne
ResourceApplyAdagradDA
ResourceApplyAdagradDA( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step )
ResourceApplyAdagradDA
ResourceApplyAdagradDA( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step, const ResourceApplyAdagradDA::Attrs & attrs )
operator :: tensorflow :: Operation
operator::tensorflow::Operation() const
Publiczne funkcje statyczne
UseLocking
Attrs UseLocking( bool x )