Google I/O'yu ayarladığınız için teşekkür ederiz. İsteğe bağlı olarak tüm oturumları görüntüleyin İsteğe bağlı olarak izleyin

tensorflow :: ops :: Koşullu Akümülatör

#include <data_flow_ops.h>

Degradeleri toplamak için koşullu bir toplayıcı.

Özet

Toplayıcı, toplayıcı tarafından bilinen en son global_step değerinden büyük veya ona eşit local_step ile işaretlenmiş gradyanları kabul eder. Yeterli gradyanların birikmesi şartıyla, ortalama, akümülatörden çıkarılabilir. Ortalamanın çıkarılması, toplamı otomatik olarak 0'a sıfırlar ve toplayıcı tarafından kaydedilen global_step'i artırır.

Argümanlar:

  • kapsam: Bir Scope nesnesi
  • dtype: Biriktirilen değerin türü.
  • şekil: Değerlerin şekli [] olabilir, bu durumda şekil bilinmemektedir.

İsteğe bağlı özellikler (bkz. Attrs ):

  • konteyner: Boş değilse, bu akümülatör verilen konteynere yerleştirilir. Aksi takdirde, varsayılan bir kap kullanılır.
  • shared_name: Boş değilse, bu biriktirici verilen ad altında birden çok oturumda paylaşılacaktır.

İadeler:

  • Output : Akümülatörün tutacağı.

Yapıcılar ve Yıkıcılar

ConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape)
ConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const ConditionalAccumulator::Attrs & attrs)

Genel özellikler

handle
operation

Kamusal işlevler

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

Genel statik işlevler

Container (StringPiece x)
ReductionType (StringPiece x)
SharedName (StringPiece x)

Yapılar

tensorflow :: ops :: ConditionalAccumulator :: Attrs

ConditionalAccumulator için isteğe bağlı öznitelik belirleyiciler.

Genel özellikler

üstesinden gelmek

::tensorflow::Output handle

operasyon

Operation operation

Kamusal işlevler

Koşullu Akümülatör

 ConditionalAccumulator(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape
)

Koşullu Akümülatör

 ConditionalAccumulator(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape,
  const ConditionalAccumulator::Attrs & attrs
)

düğüm

::tensorflow::Node * node() const 

operator :: tensorflow :: Girdi

 operator::tensorflow::Input() const 

operator :: tensorflow :: Çıktı

 operator::tensorflow::Output() const 

Genel statik işlevler

Konteyner

Attrs Container(
  StringPiece x
)

ReductionType

Attrs ReductionType(
  StringPiece x
)

SharedName

Attrs SharedName(
  StringPiece x
)