tensorflow:: ops:: ריק

#include <array_ops.h>

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

תַקצִיר

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

טיעונים:

  • היקף: אובייקט היקף
  • צורה: חד-ממדית. מייצגת את צורת טנזור הפלט.

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

 operator::tensorflow::Output() const 

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

התחלה

Attrs Init(
  bool x
)