تدفق التوتر:: العمليات:: الخطيئة
#include <math_ops.h>
يحسب جيب x عنصر الحكمة.
ملخص
بالنظر إلى موتر الإدخال، تحسب هذه الدالة جيب كل عنصر في الموتر. نطاق الإدخال هو (-inf, inf)
ونطاق الإخراج هو [-1,1]
.
x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10, float("inf")])
tf.math.sin(x) ==> [nan -0.4121185 -0.47942555 0.84147096 0.9320391 -0.87329733 -0.54402107 nan]
الحجج:
- النطاق: كائن النطاق
العوائد:
-
Output
: الموتر y.
البنائين والمدمرين | |
---|---|
Sin (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
الصفات العامة
عملية
Operation operation
ذ
::tensorflow::Output y
الوظائف العامة
الخطيئة
Sin(
const ::tensorflow::Scope & scope,
::tensorflow::Input x
)
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const