aliran tensor:: operasi:: Relu

#include <nn_ops.h>

Menghitung linier yang diperbaiki: max(features, 0) .

Ringkasan

Lihat: https://en.wikipedia.org/wiki/Rectifier_(neural_networks) Contoh penggunaan: tf.nn.relu([-2., 0., -0., 3.]).numpy() array([ 0., 0., -0., 3.], tipe d=float32)

Argumen:

Pengembalian:

Konstruktor dan Destruktor

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

Atribut publik

activations
operation

Fungsi publik

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

Atribut publik

aktivasi

::tensorflow::Output activations

operasi

Operation operation

Fungsi publik

Relu

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

simpul

::tensorflow::Node * node() const 

operator::tensorflow::Masukan

 operator::tensorflow::Input() const 

operator::tensorflow::Keluaran

 operator::tensorflow::Output() const