टेंसरफ़्लो:: ऑप्स:: ढालना
#include <math_ops.h>
SrcT प्रकार के x को DstT के y में कास्ट करें ।
सारांश
तर्क:
- स्कोप: एक स्कोप ऑब्जेक्ट
रिटर्न:
-
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 |
संरचनाएँ | |
---|---|
टेंसरफ्लो:: ऑप्स:: कास्ट:: एटर्स | कास्ट के लिए वैकल्पिक विशेषता सेटर्स। |
सार्वजनिक गुण
संचालन
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
ऑपरेटर::टेन्सरफ़्लो::इनपुट
operator::tensorflow::Input() const
ऑपरेटर::टेन्सरफ़्लो::आउटपुट
operator::tensorflow::Output() const
सार्वजनिक स्थैतिक कार्य
काट-छांट
Attrs Truncate( bool x )