Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: Yeniden niceleme Aralığı
#include <math_ops.h>
Nicelenmiş bir tensörde mevcut olan gerçek değerleri kapsayan bir aralığı hesaplar.
Özet
(input, input_min, input_max)
tarafından tanımlanan nicelenmiş bir tensör verildiğinde, o tensörde mevcut olan gerçek değerleri kapsayan bir aralığın çıktısını verir. Bu op genellikle Requantize
için requested_output_min
ve requested_output_max
üretmek için kullanılır.
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- input_min: Minimum nicelenmiş giriş değerinin temsil ettiği kayan değer.
- input_max: Maksimum nicelenmiş giriş değerinin temsil ettiği kayan değer.
İade:
-
Output
çıkışı_min: Hesaplanan minimum çıkış. -
Output
çıkışı_maks: hesaplanan maksimum çıkış.
Genel özellikler
Kamu işlevleri
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[null,null,["Son güncelleme tarihi: 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```"]]