نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: ريلوكس

#include <nn_ops.h>

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

ملخص

الحجج:

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

عائدات:

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

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

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 :: العمليات :: QuantizedReluX :: Attrs

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

السمات العامة

التنشيط

::tensorflow::Output activations

الحد الأقصى للنشاطات

::tensorflow::Output max_activations

min_activations

::tensorflow::Output min_activations

عملية

Operation operation

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

ريلوكس

 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
)

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

OutType

Attrs OutType(
  DataType x
)