tensorflow :: ops :: Dębnik
#include <math_ops.h>
Oblicza tan z elementów x.
streszczenie
Biorąc pod uwagę tensor wejściowy, ta funkcja oblicza tangens każdego elementu w tensorze. Zakres wejściowy to (-inf, inf)
a zakres wyjściowy to (-inf, inf)
. Jeśli dane wejściowe znajdują się poza granicą, zwracane jest 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]
Argumenty:
- zakres: obiekt Scope
Zwroty:
-
Output
: tensor y.
Konstruktorzy i niszczyciele | |
---|---|
Tan (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
Atrybuty publiczne | |
---|---|
operation | |
y |
Funkcje publiczne | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Atrybuty publiczne
operacja
Operation operation
y
::tensorflow::Output y
Funkcje publiczne
Dębnik
Tan( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
węzeł
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const