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 )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-11-05 (שעון UTC).
[null,null,["עדכון אחרון: 2026-11-05 (שעון UTC)."],[],[]]