จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: FakeQuantWithMinMaxVars:: คุณสมบัติ
#include <array_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ FakeQuantWithMinMaxVars
สรุป
คุณลักษณะสาธารณะ
แคบ_ช่วง_
bool tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::narrow_range_ = false
num_bits_
int64 tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::num_bits_ = 8
งานสาธารณะ
ช่วงแคบ
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::NarrowRange(
bool x
)
นัมบิตส์
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::NumBits(
int64 x
)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# tensorflow::ops::FakeQuantWithMinMaxVars::Attrs Struct Reference\n\ntensorflow::ops::FakeQuantWithMinMaxVars::Attrs\n===============================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [FakeQuantWithMinMaxVars](/versions/r2.2/api_docs/cc/class/tensorflow/ops/fake-quant-with-min-max-vars#classtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------------------|---------|\n| [narrow_range_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_1_1_attrs_1abec578a0f196944110f1d11d080a41df)` = false` | `bool` |\n| [num_bits_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_1_1_attrs_1acb2747ba3487bcb410741a16f4d44e61)` = 8` | `int64` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [NarrowRange](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_1_1_attrs_1ac79fefb37f8c534d9b72473f7a67dcd2)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-vars/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_1_1_attrs) Defaults to false. |\n| [NumBits](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_1_1_attrs_1a7fb621cbead9980e7ded03d5d01853d5)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-vars/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_1_1_attrs) Defaults to 8. |\n\nPublic attributes\n-----------------\n\n### narrow_range_\n\n```scdoc\nbool tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::narrow_range_ = false\n``` \n\n### num_bits_\n\n```scdoc\nint64 tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::num_bits_ = 8\n``` \n\nPublic functions\n----------------\n\n### NarrowRange\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::NarrowRange(\n bool x\n)\n``` \nDefaults to false. \n\n### NumBits\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::NumBits(\n int64 x\n)\n``` \nDefaults to 8."]]