tensorflow:: אופס:: ריק

#include <array_ops.h>

יוצר טנזור עם הצורה הנתונה.

סיכום

פעולה זו יוצרת טנסור של shape ו- dtype .

טיעונים:

  • scope: אובייקט Scope
  • צורה: 1-D. מייצג את הצורה של טנסור הפלט.

מאפיינים אופציונליים (ראה 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

קובעי תכונות אופציונליים עבור 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::פלט

 operator::tensorflow::Output() const 

פונקציות סטטיות ציבוריות

איניט

Attrs Init(
  bool x
)