tensorflow:: ops:: ResourceApplyGradientDescent
#include <training_ops.h>Zaktualizuj '*var' odejmując od niego 'alpha' * 'delta'.
Streszczenie
Argumenty:
- zakres: obiekt zakresu
- var: Powinien pochodzić ze zmiennej Variable().
- alfa: Współczynnik skalowania. Musi być skalarem.
- delta: Zmiana.
Atrybuty opcjonalne (patrz Attrs ):
- use_locking: Jeśli
True, odejmowanie będzie chronione blokadą; w przeciwnym wypadku zachowanie jest niezdefiniowane, ale może wykazywać mniejsze konflikty.
Zwroty:
- utworzona
Operation
Konstruktory i destruktory | |
|---|---|
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) |
Atrybuty publiczne | |
|---|---|
operation | |
Funkcje publiczne | |
|---|---|
operator::tensorflow::Operation () const | |
Publiczne funkcje statyczne | |
|---|---|
UseLocking (bool x) | |
Struktury | |
|---|---|
| tensorflow:: ops:: ResourceApplyGradientDescent:: Attrs | Opcjonalne settery atrybutów dla ResourceApplyGradientDescent . |
Atrybuty publiczne
działanie
Operation operation
Funkcje publiczne
Zastosuj zasóbGradientDescent
ResourceApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta )
Zastosuj zasóbGradientDescent
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
Publiczne funkcje statyczne
Użyj blokady
Attrs UseLocking( bool x )