tensorflow:: אופס:: יָצוּק
#include <math_ops.h>
העבר x מסוג SrcT ל-y של DstT.
תַקצִיר
טיעונים:
- scope: אובייקט Scope
החזרות:
-
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) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
מבנים | |
---|---|
tensorflow:: ops:: שחקנים:: Attrs | קובעי תכונות אופציונליים עבור Cast . |
תכונות ציבוריות
מִבצָע
Operation operation
y
::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 )