نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: الخطيئة

#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]
  

الحجج:

عائدات:

البنائين والمدمرين

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

السمات العامة

operation
y

الوظائف العامة

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 :: Output

 operator::tensorflow::Output() const