tensorflow:: ops:: Equal

#include <math_ops.h>

(x == y) এর সত্যতা মান উপাদান-ভিত্তিক ফেরত দেয়।

সারসংক্ষেপ

দ্রষ্টব্য : Equal সম্প্রচারকে সমর্থন করে। সম্প্রচার সম্পর্কে আরও জানতে এখানে ক্লিক করুন।

x = tf.constant([2, 4])
y = tf.constant(2)
tf.math.equal(x, y) ==> array([True, False])

x = tf.constant([2, 4])
y = tf.constant([2, 4])
tf.math.equal(x, y) ==> array([True,  True])

যুক্তি:

ফেরত:

  • Output : z টেনসর।

নির্মাতা এবং ধ্বংসকারী

Equal (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y)
Equal (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y, const Equal::Attrs & attrs)

জনসাধারণের বৈশিষ্ট্য

operation
z

জনসাধারণের কার্যাবলী

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

পাবলিক স্ট্যাটিক ফাংশন

IncompatibleShapeError (bool x)

কাঠামো

tensorflow:: ops:: Equal:: Attrs

Equal-এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার।

জনসাধারণের বৈশিষ্ট্য

অপারেশন

Operation operation

z

::tensorflow::Output z

জনসাধারণের কার্যাবলী

সমান

 Equal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y
)

সমান

 Equal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y,
  const Equal::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

অপারেটর::টেনসরফ্লো::আউটপুট

 operator::tensorflow::Output() const 

পাবলিক স্ট্যাটিক ফাংশন

IncompatibleShapeError

Attrs IncompatibleShapeError(
  bool x
)