tensorflow:: ops:: Relu

#include <nn_ops.h>

整流線形を計算します: max(features, 0) 。

まとめ

参照: https://en.wikipedia.org/wiki/Rectifier_(neural_networks)使用例: tf.nn.relu([-2., 0., -0., 3.]).numpy() array([ 0., 0., -0., 3.], dtype=float32)

議論:

返品:

  • Output :活性化テンソル。

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

Relu (const :: tensorflow::Scope & scope, :: tensorflow::Input features)

公開属性

activations
operation

公的機能

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

公開属性

アクティベーション

::tensorflow::Output activations

手術

Operation operation

公的機能

レル

 Relu(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input features
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const