tensorflow:: ops:: יצוק
#include <math_ops.h>הפיכת x מסוג SrcT ל-y של DstT.
תַקצִיר
טיעונים:
- היקף: אובייקט היקף
החזרות:
-
Output: טנזור y.
בנאים והורסים | |
|---|---|
Cast (const :: tensorflow::Scope & scope, :: tensorflow::Input x, DataType DstT) | |
Cast (const :: tensorflow::Scope & scope, :: tensorflow::Input x, DataType DstT, const Cast::Attrs & attrs) |
מאפיינים ציבוריים | |
|---|---|
operation | |
y | |
תפקידים ציבוריים | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
פונקציות סטטיות ציבוריות | |
|---|---|
Truncate (bool x) | |
מבנים | |
|---|---|
| tensorflow:: ops:: Cast:: Attrs | קובעי מאפיינים אופציונליים עבור Cast . |
מאפיינים ציבוריים
מִבצָע
Operation operation
י
::tensorflow::Output y
תפקידים ציבוריים
יָצוּק
Cast( const ::tensorflow::Scope & scope, ::tensorflow::Input x, DataType DstT )
יָצוּק
Cast( const ::tensorflow::Scope & scope, ::tensorflow::Input x, DataType DstT, const Cast::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
אופרטור::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
קטום
Attrs Truncate( bool x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-11-05 (שעון UTC).
[null,null,["עדכון אחרון: 2026-11-05 (שעון UTC)."],[],[]]