텐서플로우:: 작전:: 탄
#include <math_ops.h> x 요소별로 쌍곡선 탄젠트를 계산합니다.
요약
 입력 텐서가 주어지면 이 함수는 텐서에 있는 모든 요소의 쌍곡선 탄젠트를 계산합니다. 입력 범위는 [-inf, inf] 이고 출력 범위는 [-1,1] 입니다. 
x = tf.constant([-float("inf"), -5, -0.5, 1, 1.2, 2, 3, float("inf")]) tf.math.tanh(x) ==> [-1. -0.99990916 -0.46211717 0.7615942 0.8336547 0.9640276 0.9950547 1.]
인수:
- 범위: 범위 개체
보고:
-  Output: y 텐서.
| 생성자와 소멸자 | |
|---|---|
| Tanh (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
공공 기능
탄
Tanh( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const