Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: QuantizedAdd
#include <math_ops.h>
Nicelenmiş arabellekler üzerinde çalışarak x + y öğesi bazında döndürür.
Özet
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- min_x: En düşük nicelenmiş
x
değerinin temsil ettiği float değeri. - max_x: En yüksek nicelenmiş
x
değerinin temsil ettiği float değeri. - min_y: En düşük nicelenmiş
y
değerinin temsil ettiği float değeri. - max_y: En yüksek nicelenmiş
y
değerinin temsil ettiği float değeri.
İade:
-
Output
z -
Output
min_z: En düşük nicelenmiş çıkış değerinin temsil ettiği kayan değer. -
Output
max_z: En yüksek nicelenmiş çıkış değerinin temsil ettiği kayan değer.
NOT : QuantizedAdd
sınırlı yayın biçimlerini destekler. Burada yayın hakkında daha fazla bilgi
Yapıcılar ve Yıkıcılar |
---|
QuantizedAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y, :: tensorflow::Input min_x, :: tensorflow::Input max_x, :: tensorflow::Input min_y, :: tensorflow::Input max_y)
|
QuantizedAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y, :: tensorflow::Input min_x, :: tensorflow::Input max_x, :: tensorflow::Input min_y, :: tensorflow::Input max_y, const QuantizedAdd::Attrs & attrs) |
Genel statik işlevler |
---|
Toutput (DataType x) | |
Genel özellikler
Kamu işlevleri
Genel statik işlevler
Çıkış
Attrs Toutput(
DataType x
)
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::QuantizedAdd Class Reference\n\ntensorflow::ops::QuantizedAdd\n=============================\n\n`#include \u003cmath_ops.h\u003e`\n\nReturns x + y element-wise, working on quantized buffers.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- min_x: The float value that the lowest quantized `x` value represents.\n- max_x: The float value that the highest quantized `x` value represents.\n- min_y: The float value that the lowest quantized `y` value represents.\n- max_y: The float value that the highest quantized `y` value represents.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) z\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) min_z: The float value that the lowest quantized output value represents.\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) max_z: The float value that the highest quantized output value represents.\n\n\u003cbr /\u003e\n\n*NOTE* : [QuantizedAdd](/versions/r2.2/api_docs/cc/class/tensorflow/ops/quantized-add#classtensorflow_1_1ops_1_1_quantized_add) supports limited forms of broadcasting. More about broadcasting [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizedAdd](#classtensorflow_1_1ops_1_1_quantized_add_1a621cf3cc36853c0430685e0ededdb067)`(const ::`[tensorflow::Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` y, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_x, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_x, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_y, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_y)` ||\n| [QuantizedAdd](#classtensorflow_1_1ops_1_1_quantized_add_1a57f7593ed6b7624a1d2cb0e786658078)`(const ::`[tensorflow::Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` y, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_x, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_x, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_y, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_y, const `[QuantizedAdd::Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/quantized-add/attrs#structtensorflow_1_1ops_1_1_quantized_add_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [max_z](#classtensorflow_1_1ops_1_1_quantized_add_1aa6b32102b5d9cae9995b2a21ace0e734) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [min_z](#classtensorflow_1_1ops_1_1_quantized_add_1aaa43907a5a663e0ef036a91d223208a2) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_quantized_add_1a23cd1345aab819233c50f05efd30b8be) | [Operation](/versions/r2.2/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [z](#classtensorflow_1_1ops_1_1_quantized_add_1a3477fdd6d636f728c0c5267923f5cf43) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public static functions ||\n|-------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| [Toutput](#classtensorflow_1_1ops_1_1_quantized_add_1acba69e1c883470c315eb3688e1f4de1e)`(DataType x)` | [Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/quantized-add/attrs#structtensorflow_1_1ops_1_1_quantized_add_1_1_attrs) |\n\n| ### Structs ||\n|--------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::QuantizedAdd::Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/quantized-add/attrs) | Optional attribute setters for [QuantizedAdd](/versions/r2.2/api_docs/cc/class/tensorflow/ops/quantized-add#classtensorflow_1_1ops_1_1_quantized_add). |\n\nPublic attributes\n-----------------\n\n### max_z\n\n```scdoc\n::tensorflow::Output max_z\n``` \n\n### min_z\n\n```scdoc\n::tensorflow::Output min_z\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\n### z\n\n```text\n::tensorflow::Output z\n``` \n\nPublic functions\n----------------\n\n### QuantizedAdd\n\n```gdscript\n QuantizedAdd(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input x,\n ::tensorflow::Input y,\n ::tensorflow::Input min_x,\n ::tensorflow::Input max_x,\n ::tensorflow::Input min_y,\n ::tensorflow::Input max_y\n)\n``` \n\n### QuantizedAdd\n\n```gdscript\n QuantizedAdd(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input x,\n ::tensorflow::Input y,\n ::tensorflow::Input min_x,\n ::tensorflow::Input max_x,\n ::tensorflow::Input min_y,\n ::tensorflow::Input max_y,\n const QuantizedAdd::Attrs & attrs\n)\n``` \n\nPublic static functions\n-----------------------\n\n### Toutput\n\n```text\nAttrs Toutput(\n DataType x\n)\n```"]]