Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
tensoreflusso:: ops:: Bias quantizzatoAggiungi
#include <nn_ops.h>
Aggiunge il "bias" del tensore all'"input" del tensore per i tipi quantizzati.
Riepilogo
Trasmette i valori di bias sulle dimensioni 0..N-2 di 'input'.
Argomenti:
- scope: un oggetto Scope
- bias: un tensore di bias 1D con dimensioni corrispondenti all'ultima dimensione di "input".
- min_input: il valore float rappresentato dal valore di input quantizzato più basso.
- max_input: il valore float rappresentato dal valore di input quantizzato più alto.
- min_bias: il valore float rappresentato dal valore di bias quantizzato più basso.
- max_bias: il valore float rappresentato dal valore di bias quantizzato più alto.
Resi:
- Uscita
Output
-
Output
min_out: il valore float rappresentato dal valore di output quantizzato più basso. -
Output
max_out: il valore float rappresentato dal valore di output quantizzato più alto.
Attributi pubblici
Funzioni pubbliche
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::QuantizedBiasAdd Class Reference\n\ntensorflow::ops::QuantizedBiasAdd\n=================================\n\n`#include \u003cnn_ops.h\u003e`\n\nAdds [Tensor](/versions/r2.2/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) 'bias' to [Tensor](/versions/r2.2/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) 'input' for Quantized types.\n\nSummary\n-------\n\nBroadcasts the values of bias on dimensions 0..N-2 of 'input'.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- bias: A 1D bias [Tensor](/versions/r2.2/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) with size matching the last dimension of 'input'.\n- min_input: The float value that the lowest quantized input value represents.\n- max_input: The float value that the highest quantized input value represents.\n- min_bias: The float value that the lowest quantized bias value represents.\n- max_bias: The float value that the highest quantized bias value represents.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) output\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) min_out: 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_out: The float value that the highest quantized output value represents.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizedBiasAdd](#classtensorflow_1_1ops_1_1_quantized_bias_add_1a714d25955616f4da492f9171af26e2d1)`(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)` input, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` bias, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_input, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_input, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_bias, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_bias, DataType out_type)` ||\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [max_out](#classtensorflow_1_1ops_1_1_quantized_bias_add_1a3d2e3fabd5ec3ef887d0a530cb512976) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [min_out](#classtensorflow_1_1ops_1_1_quantized_bias_add_1a7676ea75bc57b79bb7701317f4113665) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_quantized_bias_add_1a889d868db5e6022ccf39d06a085a1c44) | [Operation](/versions/r2.2/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_quantized_bias_add_1a2a310917f0ff87e61c378f4b12406c2f) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\nPublic attributes\n-----------------\n\n### max_out\n\n```scdoc\n::tensorflow::Output max_out\n``` \n\n### min_out\n\n```scdoc\n::tensorflow::Output min_out\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### QuantizedBiasAdd\n\n```gdscript\n QuantizedBiasAdd(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input,\n ::tensorflow::Input bias,\n ::tensorflow::Input min_input,\n ::tensorflow::Input max_input,\n ::tensorflow::Input min_bias,\n ::tensorflow::Input max_bias,\n DataType out_type\n)\n```"]]