จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: FakeQuantWithMinMaxArgsGradient:: คุณสมบัติ
#include <array_ops.h>
ตัวตั้งค่าแอตทริบิวต์เพิ่มเติมสำหรับ FakeQuantWithMinMaxArgsGradient
สรุป
งานสาธารณะ |
---|
Max (float x) | ค่าเริ่มต้นคือ 6 |
Min (float x) | ค่าเริ่มต้นคือ -6 |
NarrowRange (bool x) | ค่าเริ่มต้นเป็นเท็จ |
NumBits (int64 x) | ค่าเริ่มต้นคือ 8 |
คุณลักษณะสาธารณะ
สูงสุด_
float tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::max_ = 6.0f
นาที_
float tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::min_ = -6.0f
แคบ_ช่วง_
bool tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::narrow_range_ = false
num_bits_
int64 tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::num_bits_ = 8
งานสาธารณะ
สูงสุด
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::Max(
float x
)
นาที
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::Min(
float x
)
ช่วงแคบ
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::NarrowRange(
bool x
)
นัมบิตส์
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::NumBits(
int64 x
)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[],[],null,["# tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs Struct Reference\n\ntensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs\n=======================================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [FakeQuantWithMinMaxArgsGradient](/versions/r2.2/api_docs/cc/class/tensorflow/ops/fake-quant-with-min-max-args-gradient#classtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| [max_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs_1a2946b59d8e6247c5ff79b4137c3a3d77)` = 6.0f` | `float` |\n| [min_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs_1aeeda11bffea42f79d8db21164ce05619)` = -6.0f` | `float` |\n| [narrow_range_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs_1a5dae68faf5fe587cedc739a970bf10d9)` = false` | `bool` |\n| [num_bits_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs_1a4914428b8dd7854ca67a165b254c45cf)` = 8` | `int64` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Max](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs_1ac53fcc80cfb057ae0d66eafe0492e00b)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-args-gradient/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs) Defaults to 6. |\n| [Min](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs_1a6e931015f464dc07eba994848b116ac6)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-args-gradient/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs) Defaults to -6. |\n| [NarrowRange](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs_1a04d8916ac676cbb755d6e30be484421f)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-args-gradient/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs) Defaults to false. |\n| [NumBits](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs_1a6c2dd332ac497f6e8a814339a021f6ed)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-args-gradient/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_args_gradient_1_1_attrs) Defaults to 8. |\n\nPublic attributes\n-----------------\n\n### max_\n\n```scdoc\nfloat tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::max_ = 6.0f\n``` \n\n### min_\n\n```scdoc\nfloat tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::min_ = -6.0f\n``` \n\n### narrow_range_\n\n```scdoc\nbool tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::narrow_range_ = false\n``` \n\n### num_bits_\n\n```scdoc\nint64 tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::num_bits_ = 8\n``` \n\nPublic functions\n----------------\n\n### Max\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::Max(\n float x\n)\n``` \nDefaults to 6. \n\n### Min\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::Min(\n float x\n)\n``` \nDefaults to -6. \n\n### NarrowRange\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::NarrowRange(\n bool x\n)\n``` \nDefaults to false. \n\n### NumBits\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::NumBits(\n int64 x\n)\n``` \nDefaults to 8."]]