tensorflow:: عملیات:: TensorArrayGather

#include <data_flow_ops.h>

عناصر خاصی را از TensorArray جمع آوری کرده و به value خروجی تبدیل می‌کند.

خلاصه

تمام عناصر انتخاب شده توسط indices باید شکل یکسانی داشته باشند.

استدلال‌ها:

  • دامنه: یک شیء دامنه
  • handle: دستگیره‌ی یک TensorArray .
  • شاخص‌ها: مکان‌هایی در TensorArray که عناصر تانسور از آنها خوانده می‌شوند.
  • flow_in: یک اسکالر اعشاری که زنجیره‌سازی صحیح عملیات را اعمال می‌کند.
  • dtype: نوع عنصری که برگردانده می‌شود.

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

  • element_shape: شکل مورد انتظار یک عنصر، در صورت مشخص بودن. برای اعتبارسنجی شکل عناصر TensorArray استفاده می‌شود. اگر این شکل به طور کامل مشخص نشده باشد، جمع‌آوری TensorArray های با اندازه صفر خطا محسوب می‌شود.

بازده:

  • Output : تمام عناصر موجود در TensorArray که در امتداد یک محور جدید (بعد جدید 0) به هم متصل شده‌اند.

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

TensorArrayGather (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input indices, :: tensorflow::Input flow_in, DataType dtype)
TensorArrayGather (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input indices, :: tensorflow::Input flow_in, DataType dtype, const TensorArrayGather::Attrs & attrs)

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

operation
value

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

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

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

ElementShape (PartialTensorShape x)

ساختارها

tensorflow:: عملیات:: TensorArrayGather:: جاذبه‌ها

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

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

عملیات

Operation operation

ارزش

::tensorflow::Output value

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

TensorArrayGather

 TensorArrayGather(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input indices,
  ::tensorflow::Input flow_in,
  DataType dtype
)

TensorArrayGather

 TensorArrayGather(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input indices,
  ::tensorflow::Input flow_in,
  DataType dtype,
  const TensorArrayGather::Attrs & attrs
)

گره

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

شکل عنصر

Attrs ElementShape(
  PartialTensorShape x
)