جریان تنسور:: عملیات:: FakeQuantWithMinMaxVars:: Attrs
#include <array_ops.h>
تنظیم کننده های ویژگی اختیاری برای FakeQuantWithMinMaxVars .
خلاصه
صفات عمومی | |
---|---|
narrow_range_ = false | bool |
num_bits_ = 8 | int64 |
توابع عمومی | |
---|---|
NarrowRange (bool x) | TF_MUST_USE_RESULT Attrs پیش فرض به نادرست. |
NumBits (int64 x) | TF_MUST_USE_RESULT Attrs پیشفرض 8 است. |
صفات عمومی
محدوده_ باریک_
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 )
پیش فرض به نادرست.
NumBits
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::NumBits( int64 x )
پیشفرض 8 است.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-26 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-26 بهوقت ساعت هماهنگ جهانی."],[],[],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.3/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.3/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.3/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."]]