تدفق التوتر:: العمليات:: تان

#include <math_ops.h>

يحسب tan للعنصر 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

ذ

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