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óaInstanceNorm:: Attr
#include <array_ops.h>
Trình thiết lập thuộc tính tùy chọn cho QuantizedInstanceNorm .
Bản tóm tắt
Thuộc tính công khai
đã cho_y_max_
float tensorflow::ops::QuantizedInstanceNorm::Attrs::given_y_max_ = 0.0f
đã cho_y_min_
float tensorflow::ops::QuantizedInstanceNorm::Attrs::given_y_min_ = 0.0f
phút_tách_
float tensorflow::ops::QuantizedInstanceNorm::Attrs::min_separation_ = 0.001f
đầu ra_range_given_
bool tensorflow::ops::QuantizedInstanceNorm::Attrs::output_range_given_ = false
phương sai_epsilon_
float tensorflow::ops::QuantizedInstanceNorm::Attrs::variance_epsilon_ = 1e-05f
Chức năng công cộng
ChoYMax
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::GivenYMax(
float x
)
Kết quả đầu ra là y_max
nếu output_range_given
là True.
Mặc định là 0
ChoYMin
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::GivenYMin(
float x
)
Tách tối thiểu
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::MinSeparation(
float x
)
Giá trị tối thiểu của y_max - y_min
Mặc định là 0,001
Phạm vi đầu ra đã cho
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::OutputRangeGiven(
bool x
)
Nếu Đúng, given_y_min
, given_y_min
và given_y_max
được sử dụng làm phạm vi đầu ra.
Nếu không, quá trình triển khai sẽ tính toán phạm vi đầu ra.
Mặc định là sai
Phương saiEpsilon
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::VarianceEpsilon(
float x
)
Một số float nhỏ để tránh chia cho 0.
Mặc định là 1e-05
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-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# tensorflow::ops::QuantizedInstanceNorm::Attrs Struct Reference\n\ntensorflow::ops::QuantizedInstanceNorm::Attrs\n=============================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [QuantizedInstanceNorm](/versions/r1.15/api_docs/cc/class/tensorflow/ops/quantized-instance-norm#classtensorflow_1_1ops_1_1_quantized_instance_norm).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------------------------|---------|\n| [given_y_max_](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a143f0f1661df75a9345104b53d2a23a1)` = 0.0f` | `float` |\n| [given_y_min_](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a66a475c41d1d5351475d1b41f4c722b9)` = 0.0f` | `float` |\n| [min_separation_](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a02e61831bb492f7e82ab72cfdd164bcd)` = 0.001f` | `float` |\n| [output_range_given_](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a90012c405dc0d5545b200b2a7ca74651)` = false` | `bool` |\n| [variance_epsilon_](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a3eb30df9c538c1316ba64edd59220592)` = 1e-05f` | `float` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GivenYMax](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a553ab19eaa986e91efec9bcac303ae9b)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs) [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) in `y_max` if `output_range_given` is True. |\n| [GivenYMin](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a05f250f2de55e37648933a2b078bb1db)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs) [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) in `y_min` if `output_range_given` is True. |\n| [MinSeparation](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a990577e61d1a959e6b16f31deeef2ac3)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs) [Minimum](/versions/r1.15/api_docs/cc/class/tensorflow/ops/minimum#classtensorflow_1_1ops_1_1_minimum) value of `y_max - y_min` |\n| [OutputRangeGiven](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a7715dcb9ec54a1cd7e45f9a30d1bd226)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs) If True, `given_y_min` and `given_y_min` and `given_y_max` are used as the output range. |\n| [VarianceEpsilon](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1abee47b20aa34a84940f8449f1c4179b2)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs) A small float number to avoid dividing by 0. |\n\nPublic attributes\n-----------------\n\n### given_y_max_\n\n```scdoc\nfloat tensorflow::ops::QuantizedInstanceNorm::Attrs::given_y_max_ = 0.0f\n``` \n\n### given_y_min_\n\n```scdoc\nfloat tensorflow::ops::QuantizedInstanceNorm::Attrs::given_y_min_ = 0.0f\n``` \n\n### min_separation_\n\n```scdoc\nfloat tensorflow::ops::QuantizedInstanceNorm::Attrs::min_separation_ = 0.001f\n``` \n\n### output_range_given_\n\n```scdoc\nbool tensorflow::ops::QuantizedInstanceNorm::Attrs::output_range_given_ = false\n``` \n\n### variance_epsilon_\n\n```gdscript\nfloat tensorflow::ops::QuantizedInstanceNorm::Attrs::variance_epsilon_ = 1e-05f\n``` \n\nPublic functions\n----------------\n\n### GivenYMax\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::GivenYMax(\n float x\n)\n``` \n[Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) in `y_max` if `output_range_given` is True.\n\nDefaults to 0 \n\n### GivenYMin\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::GivenYMin(\n float x\n)\n``` \n[Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) in `y_min` if `output_range_given` is True.\n\nDefaults to 0 \n\n### MinSeparation\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::MinSeparation(\n float x\n)\n``` \n[Minimum](/versions/r1.15/api_docs/cc/class/tensorflow/ops/minimum#classtensorflow_1_1ops_1_1_minimum) value of `y_max - y_min`\n\nDefaults to 0.001 \n\n### OutputRangeGiven\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::OutputRangeGiven(\n bool x\n)\n``` \nIf True, `given_y_min` and `given_y_min` and `given_y_max` are used as the output range.\n\nOtherwise, the implementation computes the output range.\n\nDefaults to false \n\n### VarianceEpsilon\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::VarianceEpsilon(\n float x\n)\n``` \nA small float number to avoid dividing by 0.\n\nDefaults to 1e-05"]]