टेंसरफ़्लो:: ऑप्स:: डिकोडरॉ

#include <parsing_ops.h>

संख्याओं के सदिश के रूप में एक स्ट्रिंग के बाइट्स की पुनर्व्याख्या करें।

सारांश

तर्क:

  • स्कोप: एक स्कोप ऑब्जेक्ट
  • बाइट्स: सभी तत्वों की लंबाई समान होनी चाहिए।

वैकल्पिक विशेषताएँ (देखें Attrs ):

  • लिटिल_एंडियन: क्या इनपुट bytes लिटिल-एंडियन क्रम में हैं। uint8 जैसे एकल बाइट में संग्रहीत out_type मानों को अनदेखा कर दिया गया है।

रिटर्न:

  • Output : इनपुट bytes से एक अधिक आयाम वाला एक टेंसर । जोड़े गए आयाम का आकार out_type को दर्शाने के लिए bytes के तत्वों की लंबाई को बाइट्स की संख्या से विभाजित करने के बराबर होगा।

निर्माता और विध्वंसक

DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type)
DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type, const DecodeRaw::Attrs & attrs)

सार्वजनिक गुण

operation
output

सार्वजनिक समारोह

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

सार्वजनिक स्थैतिक कार्य

LittleEndian (bool x)

संरचनाएँ

टेंसरफ्लो:: ऑप्स:: डिकोडरॉ:: एटर्स

DecodeRaw के लिए वैकल्पिक विशेषता सेटर।

सार्वजनिक गुण

संचालन

Operation operation

आउटपुट

::tensorflow::Output output

सार्वजनिक समारोह

डिकोडरॉ

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type
)

डिकोडरॉ

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type,
  const DecodeRaw::Attrs & attrs
)

नोड

::tensorflow::Node * node() const 

ऑपरेटर::टेन्सरफ़्लो::इनपुट

 operator::tensorflow::Input() const 

ऑपरेटर::टेन्सरफ़्लो::आउटपुट

 operator::tensorflow::Output() const 

सार्वजनिक स्थैतिक कार्य

छोटा एंडियन

Attrs LittleEndian(
  bool x
)