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:: FakeQuantWithMinMaxArgs:: Attr
#include <array_ops.h>
Bộ cài đặt thuộc tính tùy chọn cho FakeQuantWithMinMaxArgs .
Bản tóm tắt
Chức năng công cộng |
---|
Max (float x) | Mặc định là 6. |
Min (float x) | Mặc định là -6. |
NarrowRange (bool x) | Mặc định là sai. |
NumBits (int64 x) | Mặc định là 8. |
Thuộc tính công khai
tối đa_
float tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::max_ = 6.0f
phút_
float tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::min_ = -6.0f
phạm vi hẹp_
bool tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::narrow_range_ = false
num_bit_
int64 tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::num_bits_ = 8
Chức năng công cộng
Tối đa
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::Max(
float x
)
tối thiểu
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::Min(
float x
)
Phạm vi hẹp
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::NarrowRange(
bool x
)
NumBits
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::NumBits(
int64 x
)
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::FakeQuantWithMinMaxArgs::Attrs Struct Reference\n\ntensorflow::ops::FakeQuantWithMinMaxArgs::Attrs\n===============================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [FakeQuantWithMinMaxArgs](/versions/r1.15/api_docs/cc/class/tensorflow/ops/fake-quant-with-min-max-args#classtensorflow_1_1ops_1_1_fake_quant_with_min_max_args).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------------------|---------|\n| [max_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs_1a48dd23ab11f3429d0308da5b7705b0d2)` = 6.0f` | `float` |\n| [min_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs_1a644b4702b16410ad8d78a88c987d05fb)` = -6.0f` | `float` |\n| [narrow_range_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs_1a3e690971aa8fef6a4fc67bd48454175e)` = false` | `bool` |\n| [num_bits_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs_1ac0792d6daf9b36ff688bf98a7c638b09)` = 8` | `int64` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Max](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs_1aa20627ac87a81f2cfb9845180b46fb82)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-args/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs) Defaults to 6. |\n| [Min](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs_1afa770ce5ab4dcf1e8d2d87fe7d064395)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-args/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs) Defaults to -6. |\n| [NarrowRange](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs_1a5eb0011f6a7ea4ee9d58ec552f0baa40)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-args/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs) Defaults to false. |\n| [NumBits](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs_1afed4a295aeff41bfc6ab47841e6276e9)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-args/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_1_1_attrs) Defaults to 8. |\n\nPublic attributes\n-----------------\n\n### max_\n\n```scdoc\nfloat tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::max_ = 6.0f\n``` \n\n### min_\n\n```scdoc\nfloat tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::min_ = -6.0f\n``` \n\n### narrow_range_\n\n```scdoc\nbool tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::narrow_range_ = false\n``` \n\n### num_bits_\n\n```scdoc\nint64 tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::num_bits_ = 8\n``` \n\nPublic functions\n----------------\n\n### Max\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::Max(\n float x\n)\n``` \nDefaults to 6. \n\n### Min\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::Min(\n float x\n)\n``` \nDefaults to -6. \n\n### NarrowRange\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::NarrowRange(\n bool x\n)\n``` \nDefaults to false. \n\n### NumBits\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::NumBits(\n int64 x\n)\n``` \nDefaults to 8."]]