Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
тензорный поток:: опс:: FakeQuantWithMinMaxArgs:: Атрибуты
#include <array_ops.h>
Дополнительные установщики атрибутов для FakeQuantWithMinMaxArgs .
Краткое содержание
Общественные функции |
---|
Max (float x) | По умолчанию 6. |
Min (float x) | По умолчанию -6. |
NarrowRange (bool x) | По умолчанию ложь. |
NumBits (int64 x) | По умолчанию 8. |
Публичные атрибуты
макс_
float tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::max_ = 6.0f
мин_
float tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::min_ = -6.0f
узкий_диапазон_
bool tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::narrow_range_ = false
num_bits_
int64 tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::num_bits_ = 8
Общественные функции
Макс
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::Max(
float x
)
Мин
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::Min(
float x
)
Узкий диапазон
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::NarrowRange(
bool x
)
Число битов
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::NumBits(
int64 x
)
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 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/r2.0/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/r2.0/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/r2.0/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/r2.0/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/r2.0/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."]]