Halaman ini diterjemahkan oleh Cloud Translation API.
Switch to English

tensorflow :: ops :: SparseApplyAdagradDA

#include <training_ops.h>

Perbarui entri dalam '* var' dan '* akumulasi' sesuai dengan skema adagrad proksimal.

Ringkasan

Argumen:

  • scope: Objek Scope
  • var: Harus dari Variabel ().
  • gradient_accumulator: Harus dari Variable ().
  • gradient_squared_accumulator: Harus dari Variable ().
  • grad: Gradien.
  • indeks: Vektor indeks ke dalam dimensi pertama var dan akum.
  • lr: Kecepatan pembelajaran. Harus skalar.
  • l1: regularisasi L1. Harus skalar.
  • l2: regularisasi L2. Harus skalar.
  • global_step: Nomor langkah pelatihan. Harus skalar.

Atribut opsional (lihat Attrs ):

  • use_locking: Jika True, pembaruan tensor var dan akumulator akan dilindungi oleh kunci; jika tidak, perilakunya tidak ditentukan, tetapi mungkin menunjukkan lebih sedikit perselisihan.

Pengembalian:

  • Output : Sama seperti "var".

Pembuat dan Penghancur

SparseApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input indices, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step)
SparseApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input indices, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step, const SparseApplyAdagradDA::Attrs & attrs)

Atribut publik

operation
out

Fungsi publik

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Fungsi statis publik

UseLocking (bool x)

Structs

tensorflow :: ops :: SparseApplyAdagradDA :: Attrs

Penyetel atribut opsional untuk SparseApplyAdagradDA .

Atribut publik

operasi

Operation operation

di luar

::tensorflow::Output out

Fungsi publik

SparseApplyAdagradDA

 SparseApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input indices,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step
)

SparseApplyAdagradDA

 SparseApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input indices,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step,
  const SparseApplyAdagradDA::Attrs & attrs
)

simpul

::tensorflow::Node * node() const 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Keluaran

 operator::tensorflow::Output() const 

Fungsi statis publik

UseLocking

Attrs UseLocking(
  bool x
)