tensorflow:: אופס:: רלו

#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)

טיעונים:

  • scope: אובייקט Scope

החזרות:

  • 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 

מפעיל::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const