tensorflow::ops::SparseConditionalAccumulator

#include <data_flow_ops.h>

یک جمع‌کننده شرطی برای تجمیع گرادیان‌های پراکنده.

خلاصه

انباره، گرادیان‌هایی را که با local_step مشخص شده‌اند، بزرگتر یا مساوی با جدیدترین global_step شناخته شده برای انباره، می‌پذیرد. میانگین را می‌توان از انباره استخراج کرد، مشروط بر اینکه گرادیان‌های کافی انباشته شده باشند. استخراج میانگین به طور خودکار مجموع را به ۰ بازنشانی می‌کند و global_step ثبت شده توسط انباره را افزایش می‌دهد.

استدلال‌ها:

  • دامنه: یک شیء دامنه
  • dtype: نوع مقداری که قرار است جمع شود.
  • شکل: شکل مقادیر.

ویژگی‌های اختیاری (به Attrs مراجعه کنید):

  • کانتینر: اگر خالی نباشد، این انباره در کانتینر داده شده قرار می‌گیرد. در غیر این صورت، از یک کانتینر پیش‌فرض استفاده می‌شود.
  • shared_name: اگر خالی نباشد، این انباره تحت نام داده شده در چندین جلسه به اشتراک گذاشته خواهد شد.

بازده:

  • Output : هندل (دستگیره) به انباره.

سازنده‌ها و مخرب‌ها

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

ویژگی‌های عمومی

handle
operation

کارکردهای عمومی

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

توابع استاتیک عمومی

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

ساختارها

tensorflow:: عملیات:: انباره شرطی پراکنده:: جذابیت‌ها

تنظیم‌کننده‌های ویژگی اختیاری برای SparseConditionalAccumulator .

ویژگی‌های عمومی

رسیدگی

::tensorflow::Output handle

عملیات

Operation operation

کارکردهای عمومی

انباره شرطی پراکنده

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

انباره شرطی پراکنده

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

گره

::tensorflow::Node * node() const 

عملگر::tensorflow::ورودی

 operator::tensorflow::Input() const 

عملگر::tensorflow::خروجی

 operator::tensorflow::Output() const 

توابع استاتیک عمومی

کانتینر

Attrs Container(
  StringPiece x
)

نوع کاهش

Attrs ReductionType(
  StringPiece x
)

نام مشترک

Attrs SharedName(
  StringPiece x
)