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

#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 

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

অসামঞ্জস্যপূর্ণ আকৃতি ত্রুটি৷

Attrs IncompatibleShapeError(
  bool x
)