텐서플로우:: ops:: 탄

#include <math_ops.h>

x의 각 요소에 대한 탄젠트 값을 계산합니다.

요약

이 함수는 입력 텐서의 모든 요소에 대한 탄젠트 값을 계산합니다. 입력 범위는 (-inf, inf) 이고 출력 범위 또한 (-inf, inf) 입니다. 입력값이 범위를 벗어나면 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]
  

논거:

보고:

생성자와 소멸자

Tan (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

공공 기능

탠 껍질

 Tan(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

마디

::tensorflow::Node * node() const 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const