tensorflow:: אופס:: לְהִשְׁתַזֵף

#include <math_ops.h>

מחשב שיזוף של x מבחינת אלמנט.

סיכום

בהינתן טנזור קלט, פונקציה זו מחשבת טנגנס של כל אלמנט בטנזור. טווח הקלט הוא (-inf, inf) וטווח הפלט הוא (-inf, inf) . אם הקלט נמצא מחוץ לגבול, nan מוחזר.

  x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10000, float("inf")])
  tf.math.tan(x) ==> [nan 0.45231566 -0.5463025 1.5574077 2.572152 -1.7925274 0.32097113 nan]
  

טיעונים:

  • scope: אובייקט Scope

החזרות:

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

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

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

לְהִשְׁתַזֵף

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

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const