Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: FakeQuantWithMinMaxVars:: Atrybuty
#include <array_ops.h>
Opcjonalne moduły ustawiające atrybuty dla FakeQuantWithMinMaxVars .
Streszczenie
Funkcje publiczne |
---|
NarrowRange (bool x) | Domyślnie jest to fałsz. |
NumBits (int64 x) | Domyślnie 8. |
Atrybuty publiczne
wąski_zakres_
bool tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::narrow_range_ = false
liczba_bitów_
int64 tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::num_bits_ = 8
Funkcje publiczne
WąskiZakres
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::NarrowRange(
bool x
)
Liczba bitów
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::NumBits(
int64 x
)
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 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.1/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.1/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.1/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."]]