tensorflow :: ops :: 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.], dtype = float32)
Argumen:
- scope: Objek Scope
Pengembalian:
-
Output
: Tensor aktivasi.
Pembuat dan Penghancur | |
---|---|
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 :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Keluaran
operator::tensorflow::Output() const