przepływ tensorowy:: ops:: Dębnik
#include <math_ops.h>Oblicza tan of x elementarnie.
Streszczenie
Mając tensor wejściowy, funkcja ta oblicza tangens każdego elementu tensora. Zakres wejściowy to (-inf, inf) , a zakres wyjściowy to (-inf, inf) . Jeśli dane wejściowe leżą 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.
Konstruktory i destruktory | |
|---|---|
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
działanie
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::Wejście
operator::tensorflow::Input() const
operator::tensorflow::Wyjście
operator::tensorflow::Output() const