tensorflow :: ops :: ResourceApplyGradientDescent
#include <training_ops.h>
Zaktualizuj „* var”, odejmując od niego „alpha” * „delta”.
streszczenie
Argumenty:
- zakres: obiekt Scope
- zmienna: powinna pochodzić ze zmiennej ().
- alpha: współczynnik skalowania. Musi być skalarem.
- delta: zmiana.
Atrybuty opcjonalne (patrz Attrs
):
- use_locking: Jeśli
True
, odejmowanie będzie chronione blokadą; w przeciwnym razie zachowanie jest niezdefiniowane, ale może wykazywać mniej rywalizacji.
Zwroty:
- utworzonej
Operation
Konstruktorzy i niszczyciele | |
---|---|
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 metody ustawiające atrybuty dla ResourceApplyGradientDescent . |
Atrybuty publiczne
operacja
Operation operation
Funkcje publiczne
ResourceApplyGradientDescent
ResourceApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta )
ResourceApplyGradientDescent
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
UseLocking
Attrs UseLocking( bool x )