تينسورفلو :: العمليات :: طلب
#include <math_ops.h>
يحول موتر input
الكمي إلى output
أقل دقة.
ملخص
يحول موتر input
الكمي إلى output
أقل دقة ، باستخدام نطاق الإخراج المحدد مع requested_output_min
و requested_output_max
.
[input_min, input_max]
هي عوامات قياسية تحدد نطاق تفسير التعويم لبيانات input
. على سبيل المثال ، إذا كان input_min
هو -1.0f و input_max
هو 1.0f ، ونحن نتعامل مع بيانات quint16
الكمية ، فيجب تفسير القيمة 0 في بيانات 16 بت على أنها -1.0f ، و 65535 تعني 1.0f.
الحجج:
- النطاق: كائن النطاق
- input_min: القيمة العائمة التي تمثلها القيمة الدنيا للمدخلات الكمية.
- input_max: القيمة العائمة التي تمثلها القيمة القصوى للمدخلات الكمية.
- Request_output_min: القيمة العائمة التي تمثلها قيمة المخرجات الكمية الدنيا.
- required_output_max: القيمة العائمة التي تمثلها القيمة القصوى للمخرجات الكمية.
- out_type: نوع الإخراج. يجب أن يكون عمق بت أقل من Tinput.
عائدات:
-
Output
الإخراج -
Output
output_min: يتم نسخ القيمة required_output_min في هذا الإخراج. -
Output
output_max: يتم نسخ القيمة المطلوبة_إخراج_الحد الأقصى إلى هذا الإخراج.
البنائين والمدمرين | |
---|---|
Requantize (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max, :: tensorflow::Input requested_output_min, :: tensorflow::Input requested_output_max, DataType out_type) |
السمات العامة | |
---|---|
operation | |
output | |
output_max | |
output_min |
السمات العامة
عملية
Operation operation
انتاج
::tensorflow::Output output
الإخراج_max
::tensorflow::Output output_max
الإخراج_ دقيقة
::tensorflow::Output output_min
الوظائف العامة
طلب
Requantize( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, ::tensorflow::Input requested_output_min, ::tensorflow::Input requested_output_max, DataType out_type )
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.