Google I/O में ट्यूनिंग के लिए धन्यवाद। मांग पर सभी सत्र देखें मांग पर देखें

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

#include <math_ops.h>

DSTT के y के प्रकार SrcT की कास्ट x।

सारांश

तर्क:

रिटर्न:

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

संरचनाएं

टेंसोफ़्लो :: ऑप्स :: कास्ट :: एट्र्स

वैकल्पिक विशेषता कास्ट के लिए बसती है

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

ऑपरेशन

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
)