تدفق التوتر:: العمليات:: إضافة التحيز الكمي

#include <nn_ops.h>

يضيف "تحيز" Tensor إلى "إدخال" Tensor للأنواع الكمية.

ملخص

يبث قيم التحيز على الأبعاد 0..N-2 من "الإدخال".

الحجج:

  • النطاق: كائن النطاق
  • التحيز: موتر انحياز أحادي الأبعاد بحجم يطابق البعد الأخير لـ "الإدخال".
  • min_input: القيمة العائمة التي تمثل أقل قيمة إدخال كمية.
  • max_input: القيمة العائمة التي تمثل أعلى قيمة إدخال كمية.
  • min_bias: القيمة العائمة التي تمثلها أقل قيمة انحياز مكممة.
  • max_bias: القيمة العائمة التي تمثلها أعلى قيمة انحياز مكممة.

عائدات:

  • إخراج Output
  • Output min_out: القيمة العائمة التي تمثل أقل قيمة إخراج مكممة.
  • Output max_out: القيمة العائمة التي تمثل أعلى قيمة إخراج مكممة.

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

QuantizedBiasAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input bias, :: tensorflow::Input min_input, :: tensorflow::Input max_input, :: tensorflow::Input min_bias, :: tensorflow::Input max_bias, DataType out_type)

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

max_out
min_out
operation
output

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

أقصى خارج

::tensorflow::Output max_out

min_out

::tensorflow::Output min_out

عملية

Operation operation

انتاج

::tensorflow::Output output

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

إضافة التحيز الكمي

 QuantizedBiasAdd(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input bias,
  ::tensorflow::Input min_input,
  ::tensorflow::Input max_input,
  ::tensorflow::Input min_bias,
  ::tensorflow::Input max_bias,
  DataType out_type
)