przepływ tensorowy:: ops:: Relu

#include <nn_ops.h>

Oblicza skorygowane liniowo: max(features, 0) .

Streszczenie

Zobacz: https://en.wikipedia.org/wiki/Rectifier_(neural_networks) Przykładowe użycie: tf.nn.relu([-2., 0., -0., 3.]).numpy() array([ 0., 0., -0., 3.], dtype=float32)

Argumenty:

Zwroty:

Konstruktory i destruktory

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

Atrybuty publiczne

activations
operation

Funkcje publiczne

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

Atrybuty publiczne

aktywacje

::tensorflow::Output activations

operacja

Operation operation

Funkcje publiczne

Relu

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

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Wejście

 operator::tensorflow::Input() const 

operator::tensorflow::Wyjście

 operator::tensorflow::Output() const