Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: 곤봉

#include <math_ops.h>

x 요소의 쌍곡 코사인을 계산합니다.

요약

입력 텐서가 주어지면이 함수는 텐서에있는 모든 요소의 쌍곡 코사인을 계산합니다. 입력 범위는 [-inf, inf] 이고 출력 범위는 [1, inf] 입니다.

  x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 2, 10, float("inf")])
  tf.math.cosh(x) ==> [inf 4.0515420e+03 1.1276259e+00 1.5430807e+00 1.8106556e+00 3.7621956e+00 1.1013233e+04 inf]
  

인수 :

보고:

생성자와 소멸자

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

공공 기능

곤봉

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

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const