تدفق التوتر:: العمليات:: TensorArrayGather

#include <data_flow_ops.h>

جمع عناصر محددة من TensorArray إلى value الإخراج.

ملخص

يجب أن يكون لجميع العناصر المحددة بواسطة indices نفس الشكل.

الحجج:

  • النطاق: كائن النطاق
  • المقبض: المقبض إلى TensorArray .
  • المؤشرات: المواقع الموجودة في TensorArray والتي يمكن من خلالها قراءة عناصر الموتر.
  • flow_in: عددي عائم يفرض التسلسل الصحيح للعمليات.
  • dtype: نوع العنصر الذي تم إرجاعه.

السمات الاختيارية (انظر Attrs ):

  • element_shape: الشكل المتوقع للعنصر، إذا كان معروفًا. يستخدم للتحقق من صحة أشكال عناصر TensorArray . إذا لم يتم تحديد هذا الشكل بالكامل، فسيكون تجميع TensorArrays ذو الحجم الصفري خطأً.

عائدات:

  • 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:: ops:: TensorArrayGather:: Attrs

محددات السمات الاختيارية لـ 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 

وظائف ثابتة العامة

ElementShape

Attrs ElementShape(
  PartialTensorShape x
)