tensorflow:: ops:: Log

#include <math_ops.h>

xの自然対数を要素ごとに計算します。

まとめ

つまり、 \(y = x\)。

例:

x = tf.constant([0, 0.5, 1, 5])
tf.math.log(x) ==> [-inf, -0.6931472,  0. ,  1.609438]

議論:

返品:

コンストラクターとデストラクタ

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

公開属性

operation
y

公的機能

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

公開属性

手術

Operation operation

y

::tensorflow::Output y

公的機能

ログ

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

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const