نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: TensorArray

#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 :: العمليات :: TensorArrayGather :: Attrs

محددات السمات الاختيارية لـ TensorArrayGather .

السمات العامة

عملية

Operation operation

القيمة

::tensorflow::Output value

الوظائف العامة

TensorArray

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

TensorArray

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

 operator::tensorflow::Output() const 

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

العنصر

Attrs ElementShape(
  PartialTensorShape x
)