tensorflow:: ops:: Empty

#include <array_ops.h>

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

ملخص

تُنشئ هذه العملية موترًا من حيث shape ونوع dtype .

الحجج:

  • النطاق: كائن النطاق
  • الشكل: أحادي البعد. يمثل شكل موتر الإخراج.

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

  • init: إذا كانت القيمة True، يتم تهيئة الموتر المُعاد بالقيمة الافتراضية لنوع البيانات. وإلا، فإن التنفيذ حر في عدم تهيئة محتوى الموتر.

المرتجعات:

البناة والمدمرون

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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

تهيئة

Attrs Init(
  bool x
)