Google I/O-তে টিউন করার জন্য ধন্যবাদ। চাহিদা অনুযায়ী সব সেশন দেখুন চাহিদা অনুযায়ী দেখুন

সেন্সরফ্লো :: অপস :: কাস্ট

#include <math_ops.h>

কাস্ট DstT এর y এর টাইপ SrcT এক্স হবে।

সারসংক্ষেপ

যুক্তি:

রিটার্নস:

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

স্ট্রাক্টস

টেনসরফ্লো :: অপস :: কাস্ট :: অ্যাটারস

কাস্টের জন্য ptionচ্ছিক বৈশিষ্ট্য সেটটার।

জনসাধারণের গুণাবলী

অপারেশন

Operation operation

y

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