tensorflow:: ops:: ApplyGradientDescent
#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:
-
Output: To samo co „var”.
Konstruktory i destruktory | |
|---|---|
ApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta) | |
ApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta, const ApplyGradientDescent::Attrs & attrs) |
Atrybuty publiczne | |
|---|---|
operation | |
out | |
Funkcje publiczne | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Publiczne funkcje statyczne | |
|---|---|
UseLocking (bool x) | |
Struktury | |
|---|---|
| tensorflow:: ops:: ApplyGradientDescent:: Attrs | Opcjonalne settery atrybutów dla ApplyGradientDescent . |
Atrybuty publiczne
działanie
Operation operation
na zewnątrz
::tensorflow::Output out
Funkcje publiczne
Zastosuj gradient zejścia
ApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta )
Zastosuj gradient zejścia
ApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta, const ApplyGradientDescent::Attrs & attrs )
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Publiczne funkcje statyczne
Użyj blokady
Attrs UseLocking( bool x )