Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
tensoreflusso:: ops:: QuantizedAdd
#include <math_ops.h>
Restituisce x + y per elemento, lavorando su buffer quantizzati.
Riepilogo
Argomenti:
- scope: un oggetto Scope
- min_x: il valore float rappresentato dal valore
x
quantizzato più basso. - max_x: il valore float rappresentato dal valore
x
quantizzato più alto. - min_y: il valore float rappresentato dal valore
y
quantizzato più basso. - max_y: il valore float rappresentato dal valore
y
quantizzato più alto.
Resi:
-
Output
z -
Output
min_z: il valore float rappresentato dal valore di output quantizzato più basso. -
Output
max_z: il valore float rappresentato dal valore di output quantizzato più alto.
NOTA : QuantizedAdd
supporta forme limitate di trasmissione. Maggiori informazioni sulla trasmissione qui
Costruttori e distruttori |
---|
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) |
Funzioni pubbliche statiche |
---|
Toutput (DataType x) | |
Attributi pubblici
Funzioni pubbliche
Funzioni pubbliche statiche
Tuscita
Attrs Toutput(
DataType x
)
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[null,null,["Ultimo aggiornamento 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.3/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.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) z\n- [Output](/versions/r2.3/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.3/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.3/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.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)` x, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` y, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_x, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_x, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_y, ::`[tensorflow::Input](/versions/r2.3/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.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)` x, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` y, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_x, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_x, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_y, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_y, const `[QuantizedAdd::Attrs](/versions/r2.3/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.3/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.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_quantized_add_1a23cd1345aab819233c50f05efd30b8be) | [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [z](#classtensorflow_1_1ops_1_1_quantized_add_1a3477fdd6d636f728c0c5267923f5cf43) | `::`[tensorflow::Output](/versions/r2.3/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.3/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.3/api_docs/cc/struct/tensorflow/ops/quantized-add/attrs) | Optional attribute setters for [QuantizedAdd](/versions/r2.3/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```"]]