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

#include <array_ops.h>

إنشاء موتر بالشكل المحدد.

ملخص

تقوم هذه العملية بإنشاء موتر من shape و dtype .

الحجج:

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

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

  • init: إذا كان True، قم بتهيئة الموتر الذي تم إرجاعه بالقيمة الافتراضية 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:: فارغ:: Attrs

محددات السمات الاختيارية للملفات الفارغة .

الصفات العامة

عملية

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::الإخراج

 operator::tensorflow::Output() const 

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

فيه

Attrs Init(
  bool x
)