Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: KwantyzowaneDodaj
#include <math_ops.h>
Zwraca x + y elementarnie, pracując na skwantowanych buforach.
Streszczenie
Argumenty:
- zakres: Obiekt Scope
- min_x: Wartość zmiennoprzecinkowa reprezentowana przez najniższą skwantowaną wartość
x
. - max_x: Wartość zmiennoprzecinkowa reprezentowana przez najwyższą skwantowaną wartość
x
. - min_y: Wartość zmiennoprzecinkowa reprezentowana przez najniższą skwantowaną wartość
y
. - max_y: Wartość zmiennoprzecinkowa, którą reprezentuje najwyższa skwantowana wartość
y
.
Zwroty:
-
Output
z -
Output
min_z: Wartość zmiennoprzecinkowa reprezentowana przez najniższą skwantowaną wartość wyjściową. -
Output
max_z: Wartość zmiennoprzecinkowa, którą reprezentuje najwyższa skwantowana wartość wyjściowa.
UWAGA : QuantizedAdd
obsługuje ograniczone formy nadawania. Więcej o transmisji tutaj
Konstruktory i destruktory |
---|
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) |
Publiczne funkcje statyczne |
---|
Toutput (DataType x) | |
Atrybuty publiczne
Funkcje publiczne
Publiczne funkcje statyczne
Toutput
Attrs Toutput(
DataType x
)
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[null,null,["Ostatnia aktualizacja: 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```"]]