tensorflow:: ops:: Tan

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

الحجج:

المرتجعات:

البناة والمدمرون

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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const