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

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

#include <array_ops.h>

ينشئ موترًا بالشكل المحدد.

ملخص

هذه العملية تخلق dtype shape dtype .

الحجج:

  • النطاق: كائن النطاق
  • الشكل: 1-D. يمثل شكل موتر الإخراج.

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

  • init: إذا كان صحيحًا ، فقم بتهيئة الموتر الناتج بالقيمة الافتراضية لـ dtype. خلاف ذلك ، يكون التنفيذ مجانيًا لعدم تهيئة محتوى الموتر.

عائدات:

البنائين والمدمرين

Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype)
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs)

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

operation
output

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

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

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

Init (bool x)

الهياكل

tensorflow :: ops :: Empty :: Attrs

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

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

عملية

Operation operation

انتاج

::tensorflow::Output output

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

فارغة

 Empty(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype
)

فارغة

 Empty(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype,
  const Empty::Attrs & attrs
)

العقدة

::tensorflow::Node * node() const 

المشغل :: tensorflow :: الإدخال

 operator::tensorflow::Input() const 

المشغل :: Tensorflow :: Output

 operator::tensorflow::Output() const 

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

فيه

Attrs Init(
  bool x
)