tensorflow:: אופס:: חטא

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

טיעונים:

  • scope: אובייקט Scope

החזרות:

בנאים והורסים

Sin (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

תפקידים ציבוריים

חטא

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

צוֹמֶת

::tensorflow::Node * node() const 

מפעיל::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const