Halaman ini diterjemahkan oleh Cloud Translation API.
Switch to English

tensorflow :: ops :: ResourceSparseApplyAdagradDA

#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:

Pembuat dan Penghancur

ResourceSparseApplyAdagradDA (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)
ResourceSparseApplyAdagradDA (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 ResourceSparseApplyAdagradDA::Attrs & attrs)

Atribut publik

operation

Fungsi publik

operator::tensorflow::Operation () const

Fungsi statis publik

UseLocking (bool x)

Structs

tensorflow :: ops :: ResourceSparseApplyAdagradDA :: Attrs

Penyetel atribut opsional untuk ResourceSparseApplyAdagradDA .

Atribut publik

operasi

Operation operation

Fungsi publik

ResourceSparseApplyAdagradDA

 ResourceSparseApplyAdagradDA(
  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
)

ResourceSparseApplyAdagradDA

 ResourceSparseApplyAdagradDA(
  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 ResourceSparseApplyAdagradDA::Attrs & attrs
)

operator :: tensorflow :: Operasi

 operator::tensorflow::Operation() const 

Fungsi statis publik

UseLocking

Attrs UseLocking(
  bool x
)