टेंसरफ़्लो :: ऑप्स :: StringToNumber
#include <parsing_ops.h>
प्रत्येक स्ट्रिंग को इनपुट सेंसर में निर्दिष्ट संख्यात्मक प्रकार में परिवर्तित करता है।
सारांश
(ध्यान दें कि int32 ओवरफ्लो का परिणाम एक त्रुटि है जबकि फ्लोट ओवरफ्लो परिणाम एक गोल मूल्य में होता है।)
तर्क:
- गुंजाइश: एक स्कोप ऑब्जेक्ट
वैकल्पिक विशेषताएँ ( Attrs
देखें):
- out_type: में प्रत्येक स्ट्रिंग व्याख्या करने के लिए सांख्यिक प्रकार
string_tensor
के रूप में।
रिटर्न:
कंस्ट्रक्टर और डिस्ट्रक्टर्स | |
---|---|
StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor) | |
StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor, const StringToNumber::Attrs & attrs) |
सार्वजनिक विशेषताएँ | |
---|---|
operation | |
output |
सार्वजनिक कार्य | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
सार्वजनिक स्थैतिक कार्य | |
---|---|
OutType (DataType x) |
संरचनाएं | |
---|---|
टेनसफ़्लो :: ऑप्स :: स्ट्रिंगट्नोम्बर :: अट्र्स | वैकल्पिक विशेषता StringToNumber के लिए बसता है । |
सार्वजनिक विशेषताएँ
ऑपरेशन
Operation operation
उत्पादन
::tensorflow::Output output
सार्वजनिक कार्य
StringToNumber
StringToNumber( const ::tensorflow::Scope & scope, ::tensorflow::Input string_tensor )
StringToNumber
StringToNumber( const ::tensorflow::Scope & scope, ::tensorflow::Input string_tensor, const StringToNumber::Attrs & attrs )
नोड
::tensorflow::Node * node() const
ऑपरेटर :: टेंसरफ़्लो :: इनपुट
operator::tensorflow::Input() constहै
ऑपरेटर :: टेंसरफ़्लो :: आउटपुट
operator::tensorflow::Output() const
सार्वजनिक स्थैतिक कार्य
आउटटाइप
Attrs OutType( DataType x )