टेन्सरफ्लो::ऑप्स::कास्ट

#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)

सार्वजनिक विशेषताएँ

operation
y

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

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

सार्वजनिक स्थैतिक फ़ंक्शन

Truncate (bool x)

संरचनाएँ

टेन्सरफ्लो::ऑप्स::कास्ट::एट्रिब्यूट्स

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 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

सार्वजनिक स्थैतिक फ़ंक्शन

काट-छांट

Attrs Truncate(
  bool x
)