تدفق التوتر:: العمليات:: QuantizedReluX

#include <nn_ops.h>

يحسب الخط الخطي المصحح X: min(max(features, 0), max_value)

ملخص

الحجج:

  • النطاق: كائن النطاق
  • min_features: القيمة العائمة التي تمثلها القيمة الكمية الأدنى.
  • max_features: القيمة العائمة التي تمثل أعلى قيمة كمية.

عائدات:

  • عمليات تنشيط Output : لها نفس شكل الإخراج مثل "الميزات".
  • Output min_activations: القيمة العائمة التي تمثل أقل قيمة كمية.
  • Output max_activations: القيمة العائمة التي تمثل أعلى قيمة كمية.

البنائين والمدمرين

QuantizedReluX (const :: tensorflow::Scope & scope, :: tensorflow::Input features, :: tensorflow::Input max_value, :: tensorflow::Input min_features, :: tensorflow::Input max_features)
QuantizedReluX (const :: tensorflow::Scope & scope, :: tensorflow::Input features, :: tensorflow::Input max_value, :: tensorflow::Input min_features, :: tensorflow::Input max_features, const QuantizedReluX::Attrs & attrs)

الصفات العامة

activations
max_activations
min_activations
operation

وظائف ثابتة العامة

OutType (DataType x)

الهياكل

Tensorflow:: ops:: QuantizedReluX:: Attrs

محددات السمات الاختيارية لـ QuantizedReluX .

الصفات العامة

التنشيط

::tensorflow::Output activations

max_activations

::tensorflow::Output max_activations

min_activations

::tensorflow::Output min_activations

عملية

Operation operation

الوظائف العامة

QuantizedReluX

 QuantizedReluX(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input features,
  ::tensorflow::Input max_value,
  ::tensorflow::Input min_features,
  ::tensorflow::Input max_features
)

QuantizedReluX

 QuantizedReluX(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input features,
  ::tensorflow::Input max_value,
  ::tensorflow::Input min_features,
  ::tensorflow::Input max_features,
  const QuantizedReluX::Attrs & attrs
)

وظائف ثابتة العامة

نوع خارجي

Attrs OutType(
  DataType x
)