tensorflow :: ops :: Tan
#include <math_ops.h>
X öğesinin tanını hesaplar.
Özet
Bir giriş tensörü verildiğinde, bu fonksiyon tensördeki her elemanın tanjantını hesaplar. Giriş aralığı (-inf, inf)
ve çıktı aralığı (-inf, inf)
. Girdi sınırın dışındaysa nan
döndürülür.
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]
Argümanlar:
- kapsam: Bir Scope nesnesi
İadeler:
-
Output
: y tensörü.
Yapıcılar ve Yıkıcılar | |
---|---|
Tan (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
Genel özellikler | |
---|---|
operation | |
y |
Kamusal işlevler | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Genel özellikler
operasyon
Operation operation
y
::tensorflow::Output y
Kamusal işlevler
Tan
Tan( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
düğüm
::tensorflow::Node * node() const
operator :: tensorflow :: Girdi
operator::tensorflow::Input() const
operator :: tensorflow :: Çıktı
operator::tensorflow::Output() const