tensoreflusso:: ops:: Relù

#include <nn_ops.h>

Calcola il lineare rettificato: max(features, 0) .

Riepilogo

Vedi: https://en.wikipedia.org/wiki/Rectifier_(neural_networks) Esempio di utilizzo: tf.nn.relu([-2., 0., -0., 3.]).numpy() array([ 0., 0., -0., 3.], dtype=float32)

Argomenti:

Ritorna:

  • Output : Il tensore delle attivazioni.

Costruttori e distruttori

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

Attributi pubblici

activations
operation

Funzioni pubbliche

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

Attributi pubblici

attivazioni

::tensorflow::Output activations

operazione

Operation operation

Funzioni pubbliche

Relù

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

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensorflow::Output

 operator::tensorflow::Output() const