Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
tensoreflusso:: ops:: QuantizedReluX
#include <nn_ops.h>
Calcola X lineare rettificato quantizzato: min(max(features, 0), max_value)
Riepilogo
Argomenti:
- scope: un oggetto Scope
- min_features: il valore float rappresentato dal valore quantizzato più basso.
- max_features: il valore float rappresentato dal valore quantizzato più alto.
Resi:
- Attivazioni
Output
: ha la stessa forma di output di "funzionalità". -
Output
min_activations: il valore float rappresentato dal valore quantizzato più basso. -
Output
max_activations: il valore float rappresentato dal valore quantizzato più alto.
Funzioni pubbliche statiche |
---|
OutType (DataType x) | |
Attributi pubblici
Funzioni pubbliche
Funzioni pubbliche statiche
OutType
Attrs OutType(
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::QuantizedReluX Class Reference\n\ntensorflow::ops::QuantizedReluX\n===============================\n\n`#include \u003cnn_ops.h\u003e`\n\nComputes Quantized Rectified Linear X: `min(max(features, 0), max_value)`\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_features: The float value that the lowest quantized value represents.\n- max_features: The float value that the highest quantized value represents.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) activations: Has the same output shape as \"features\".\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) min_activations: The float value that the lowest quantized value represents.\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) max_activations: The float value that the highest quantized value represents.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizedReluX](#classtensorflow_1_1ops_1_1_quantized_relu_x_1a5509eb6445753af1e18a06d139885f02)`(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)` features, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_value, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_features, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_features)` ||\n| [QuantizedReluX](#classtensorflow_1_1ops_1_1_quantized_relu_x_1afed49bee2c994cad34ec5c1462161fa8)`(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)` features, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_value, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_features, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_features, const `[QuantizedReluX::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/quantized-relu-x/attrs#structtensorflow_1_1ops_1_1_quantized_relu_x_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [activations](#classtensorflow_1_1ops_1_1_quantized_relu_x_1a594fb96f49dbedf8a3810caf4886bc3e) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [max_activations](#classtensorflow_1_1ops_1_1_quantized_relu_x_1a609f233b7ea6a001d77cadd7ff184561) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [min_activations](#classtensorflow_1_1ops_1_1_quantized_relu_x_1a3165bc8619ed4997ca3592545cbfa209) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_quantized_relu_x_1a87f9e55b0b58742fc7c2d2a819b66c18) | [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [OutType](#classtensorflow_1_1ops_1_1_quantized_relu_x_1aab024e89293405d30cf1c3e18034a56c)`(DataType x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/quantized-relu-x/attrs#structtensorflow_1_1ops_1_1_quantized_relu_x_1_1_attrs) |\n\n| ### Structs ||\n|-------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::QuantizedReluX::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/quantized-relu-x/attrs) | Optional attribute setters for [QuantizedReluX](/versions/r2.3/api_docs/cc/class/tensorflow/ops/quantized-relu-x#classtensorflow_1_1ops_1_1_quantized_relu_x). |\n\nPublic attributes\n-----------------\n\n### activations\n\n```text\n::tensorflow::Output activations\n``` \n\n### max_activations\n\n```scdoc\n::tensorflow::Output max_activations\n``` \n\n### min_activations\n\n```scdoc\n::tensorflow::Output min_activations\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### QuantizedReluX\n\n```gdscript\n QuantizedReluX(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input features,\n ::tensorflow::Input max_value,\n ::tensorflow::Input min_features,\n ::tensorflow::Input max_features\n)\n``` \n\n### QuantizedReluX\n\n```gdscript\n QuantizedReluX(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input features,\n ::tensorflow::Input max_value,\n ::tensorflow::Input min_features,\n ::tensorflow::Input max_features,\n const QuantizedReluX::Attrs & attrs\n)\n``` \n\nPublic static functions\n-----------------------\n\n### OutType\n\n```text\nAttrs OutType(\n DataType x\n)\n```"]]