সেন্সরফ্লো :: অপস :: টান
#include <math_ops.h>
এক্স উপাদান-ভিত্তিক গণনা ট্যান।
সারসংক্ষেপ
একটি ইনপুট টেনসর দেওয়া, এই ফাংশনটি টেন্সরের প্রতিটি উপাদানের ট্যানজেন্টের গণনা করে। ইনপুট পরিসর (-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