aliran tensor:: operasi:: ResourceApplyGradientDescent
#include <training_ops.h>
Perbarui '*var' dengan mengurangi 'alpha' * 'delta' darinya.
Ringkasan
Argumen:
- ruang lingkup: Objek Lingkup
- var: Harus dari Variabel().
- alpha: Faktor penskalaan. Pasti skalar.
- delta: Perubahan.
Atribut opsional (lihat Attrs
):
- use_locking: Jika
True
, pengurangan akan dilindungi oleh kunci; jika tidak, perilaku tersebut tidak terdefinisikan, namun mungkin menunjukkan lebih sedikit pertentangan.
Pengembalian:
-
Operation
yang dibuat
Konstruktor dan Destruktor | |
---|---|
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) |
Fungsi publik | |
---|---|
operator::tensorflow::Operation () const |
Fungsi statis publik | |
---|---|
UseLocking (bool x) |
Struktur | |
---|---|
tensorflow:: ops:: ResourceApplyGradientDescent:: Attrs | Penyetel atribut opsional untuk ResourceApplyGradientDescent . |
Atribut publik
operasi
Operation operation
Fungsi publik
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::Operasi
operator::tensorflow::Operation() const
Fungsi statis publik
Gunakan Penguncian
Attrs UseLocking(
bool x
)
aliran tensor:: operasi:: ResourceApplyGradientDescent
#include <training_ops.h>
Perbarui '*var' dengan mengurangi 'alpha' * 'delta' darinya.
Ringkasan
Argumen:
- ruang lingkup: Objek Lingkup
- var: Harus dari Variabel().
- alpha: Faktor penskalaan. Pasti skalar.
- delta: Perubahan.
Atribut opsional (lihat Attrs
):
- use_locking: Jika
True
, pengurangan akan dilindungi oleh kunci; jika tidak, perilaku tersebut tidak terdefinisikan, namun mungkin menunjukkan lebih sedikit pertentangan.
Pengembalian:
-
Operation
yang dibuat
Konstruktor dan Destruktor | |
---|---|
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) |
Fungsi publik | |
---|---|
operator::tensorflow::Operation () const |
Fungsi statis publik | |
---|---|
UseLocking (bool x) |
Struktur | |
---|---|
tensorflow:: ops:: ResourceApplyGradientDescent:: Attrs | Penyetel atribut opsional untuk ResourceApplyGradientDescent . |
Atribut publik
operasi
Operation operation
Fungsi publik
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::Operasi
operator::tensorflow::Operation() const
Fungsi statis publik
Gunakan Penguncian
Attrs UseLocking(
bool x
)