Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::QuantizedAdd
#include <math_ops.h>
Returns x + y element-wise, working on quantized buffers.
Summary
Args:
- scope: A Scope object
- min_x: The float value that the lowest quantized
x
value represents.
- max_x: The float value that the highest quantized
x
value represents.
- min_y: The float value that the lowest quantized
y
value represents.
- max_y: The float value that the highest quantized
y
value represents.
Returns:
Output
z
Output
min_z: The float value that the lowest quantized output value represents.
Output
max_z: The float value that the highest quantized output value represents.
NOTE: QuantizedAdd
supports limited forms of broadcasting. More about broadcasting here
Constructors and Destructors
|
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)
|
Public static functions
|
Toutput(DataType x)
|
|
Public attributes
Public functions
Public static functions
Toutput
Attrs Toutput(
DataType x
)
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. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 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\nArgs:\n\n- scope: A [Scope](/versions/r2.14/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.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) z\n- [Output](/versions/r2.14/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.14/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.14/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.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` y, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_x, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_x, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_y, ::`[tensorflow::Input](/versions/r2.14/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.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` y, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_x, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_x, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_y, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_y, const `[QuantizedAdd::Attrs](/versions/r2.14/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.14/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.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_quantized_add_1a23cd1345aab819233c50f05efd30b8be) | [Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [z](#classtensorflow_1_1ops_1_1_quantized_add_1a3477fdd6d636f728c0c5267923f5cf43) | `::`[tensorflow::Output](/versions/r2.14/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.14/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.14/api_docs/cc/struct/tensorflow/ops/quantized-add/attrs) | Optional attribute setters for [QuantizedAdd](/versions/r2.14/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```"]]