Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
dòng chảy căng:: ôi:: Lượng tử hóaBiasAdd
#include <nn_ops.h>
Thêm 'độ lệch' của Tensor vào 'đầu vào' của Tensor cho các loại Lượng tử hóa.
Bản tóm tắt
Phát các giá trị sai lệch trên các kích thước 0..N-2 của 'đầu vào'.
Lập luận:
- phạm vi: Một đối tượng Phạm vi
- độ lệch: Tenor sai lệch 1D có kích thước khớp với kích thước cuối cùng của 'đầu vào'.
- min_input: Giá trị float mà giá trị đầu vào lượng tử hóa thấp nhất đại diện.
- max_input: Giá trị float mà giá trị đầu vào lượng tử hóa cao nhất đại diện.
- min_bias: Giá trị float mà giá trị độ lệch lượng tử hóa thấp nhất đại diện.
- max_bias: Giá trị float mà giá trị sai lệch lượng tử hóa cao nhất đại diện.
Trả về:
-
Output
đầu ra -
Output
min_out: Giá trị float mà giá trị đầu ra lượng tử hóa thấp nhất đại diện. -
Output
max_out: Giá trị float mà giá trị đầu ra lượng tử hóa cao nhất đại diện.
Thuộc tính công khai
Chức năng công cộng
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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```"]]