Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
aliran tensor:: operasi:: Bias TerkuantisasiTambahkan
#include <nn_ops.h>
Menambahkan 'bias' Tensor ke 'input' Tensor untuk tipe Terkuantisasi.
Ringkasan
Menyiarkan nilai bias pada dimensi 0..N-2 dari 'input'.
Argumen:
- ruang lingkup: Objek Lingkup
- bias: Tensor bias 1D dengan ukuran yang cocok dengan dimensi 'input' terakhir.
- min_input: Nilai float yang diwakili oleh nilai input terkuantisasi terendah.
- max_input: Nilai float yang diwakili oleh nilai input terkuantisasi tertinggi.
- min_bias: Nilai float yang diwakili oleh nilai bias terkuantisasi terendah.
- max_bias: Nilai float yang diwakili oleh nilai bias terkuantisasi tertinggi.
Pengembalian:
- keluaran
Output
-
Output
min_out: Nilai float yang diwakili oleh nilai output terkuantisasi terendah. -
Output
max_out: Nilai float yang diwakili oleh nilai output terkuantisasi tertinggi.
Atribut publik
Fungsi publik
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[null,null,["Terakhir diperbarui pada 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```"]]