تدفق التوتر:: العمليات:: ضرب بالعصا

#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