tensorflow :: ops :: Tan
#include <math_ops.h>
Menghitung tan dari x berdasarkan elemen.
Ringkasan
Diberikan sebuah input tensor, fungsi ini menghitung tangen dari setiap elemen di tensor. Rentang masukan adalah (-inf, inf)
dan kisaran keluaran adalah (-inf, inf)
. Jika input berada di luar batas, nan
dikembalikan.
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]
Argumen:
- scope: Objek Scope
Pengembalian:
-
Output
: tensor y.
Pembuat dan Penghancur | |
---|---|
Tan (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
Atribut publik | |
---|---|
operation | |
y |
Fungsi publik | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Atribut publik
operasi
Operation operation
y
::tensorflow::Output y
Fungsi publik
Tan
Tan( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
simpul
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Keluaran
operator::tensorflow::Output() const