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
החזרות:
-
Output
: הטנסור y.
בנאים והורסים | |
---|---|
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