tensorflow:: אופס:: RequantizationRange
#include <math_ops.h>
מחשב טווח המכסה את הערכים בפועל הקיימים בטנזור כמותי.
תַקצִיר
בהינתן טנזור כמותי המתואר על ידי (input, input_min, input_max)
, מוציא טווח המכסה את הערכים בפועל הקיימים באותו טנזור. אופציה זו משמשת בדרך כלל כדי לייצר את requested_output_min
ואת requested_output_max
עבור Requantize
.
טיעונים:
- scope: אובייקט Scope
- input_min: הערך הצף שערך הקלט הקוונטי המינימלי מייצג.
- input_max: הערך הצף שערך הקלט המקוונטי המקסימלי מייצג.
החזרות:
בנאים והורסים | |
---|---|
RequantizationRange (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max) |
תכונות ציבוריות | |
---|---|
operation | |
output_max | |
output_min |
תכונות ציבוריות
מִבצָע
Operation operation
output_max
::tensorflow::Output output_max
output_min
::tensorflow::Output output_min
תפקידים ציבוריים
RequantizationRange
RequantizationRange( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# tensorflow::ops::RequantizationRange Class Reference\n\ntensorflow::ops::RequantizationRange\n====================================\n\n`#include \u003cmath_ops.h\u003e`\n\nComputes a range that covers the actual values present in a quantized tensor.\n\nSummary\n-------\n\nGiven a quantized tensor described by `(input, input_min, input_max)`, outputs a range that covers the actual values present in that tensor. This op is typically used to produce the `requested_output_min` and `requested_output_max` for [Requantize](/versions/r2.3/api_docs/cc/class/tensorflow/ops/requantize#classtensorflow_1_1ops_1_1_requantize).\n\nArguments:\n\n- scope: A [Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- input_min: The float value that the minimum quantized input value represents.\n- input_max: The float value that the maximum quantized input value represents.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) output_min: The computed min output.\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) output_max: the computed max output.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [RequantizationRange](#classtensorflow_1_1ops_1_1_requantization_range_1a4d54c3391bd95eedc608f03b3aed9c30)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_min, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_max)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_requantization_range_1afed0a008f6d5039ad8b33ae859d0c4e3) | [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output_max](#classtensorflow_1_1ops_1_1_requantization_range_1a5908cd7341e67e52ce19e4ed8663965f) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [output_min](#classtensorflow_1_1ops_1_1_requantization_range_1a85e00a462564fca8261bab66f911c54a) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output_max\n\n```scdoc\n::tensorflow::Output output_max\n``` \n\n### output_min\n\n```scdoc\n::tensorflow::Output output_min\n``` \n\nPublic functions\n----------------\n\n### RequantizationRange\n\n```gdscript\n RequantizationRange(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input,\n ::tensorflow::Input input_min,\n ::tensorflow::Input input_max\n)\n```"]]