tensorflow:: ops:: Cos
#include <math_ops.h>x-এর প্রতিটি উপাদানের cos নির্ণয় করে।
সারসংক্ষেপ
একটি ইনপুট টেনসর দেওয়া হলে, এই ফাংশনটি টেনসরটির প্রতিটি উপাদানের কোসাইন গণনা করে। ইনপুট পরিসীমা হলো (-inf, inf) এবং আউটপুট পরিসীমা হলো [-1,1] । যদি ইনপুট এই সীমার বাইরে থাকে, তাহলে nan রিটার্ন করা হয়।
x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10000, float("inf")]) tf.math.cos(x) ==> [nan -0.91113025 0.87758255 0.5403023 0.36235774 0.48718765 -0.95215535 nan]
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
ফেরত:
-
Output: y টেনসর।
নির্মাতা এবং ধ্বংসকারী | |
|---|---|
Cos (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
জনসাধারণের কার্যাবলী
কস
Cos( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
নোড
::tensorflow::Node * node() const
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const