tensorflow :: অপস:: ট্যান

#include <math_ops.h>

x উপাদান-ভিত্তিক ট্যান গণনা করে।

সারসংক্ষেপ

একটি ইনপুট টেনসর দেওয়া হলে, এই ফাংশনটি টেনসরের প্রতিটি উপাদানের স্পর্শক গণনা করে। ইনপুট পরিসীমা হল (-inf, inf) এবং আউটপুট পরিসীমা হল (-inf, inf) । ইনপুট সীমানার বাইরে থাকলে, nan ফেরত দেওয়া হয়।

  x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10000, float("inf")])
  tf.math.tan(x) ==> [nan 0.45231566 -0.5463025 1.5574077 2.572152 -1.7925274 0.32097113 nan]
  

যুক্তি:

রিটার্ন:

  • Output : y টেনসর।

কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর

Tan (const :: tensorflow::Scope & scope, :: tensorflow::Input x)

পাবলিক বৈশিষ্ট্য

operation
y

পাবলিক ফাংশন

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

পাবলিক বৈশিষ্ট্য

অপারেশন

Operation operation

y

::tensorflow::Output y

পাবলিক ফাংশন

ট্যান

 Tan(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const