Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: FakeQuantWithMinMaxArgs:: Atrybuty
#include <array_ops.h>
Opcjonalne moduły ustawiające atrybuty dla FakeQuantWithMinMaxArgs .
Streszczenie
Funkcje publiczne |
---|
Max (float x) | Domyślnie 6. |
Min (float x) | Domyślnie -6. |
NarrowRange (bool x) | Domyślnie jest to fałsz. |
NumBits (int64 x) | Domyślnie 8. |
Atrybuty publiczne
maks_
float tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::max_ = 6.0f
min_
float tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::min_ = -6.0f
wąski_zakres_
bool tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::narrow_range_ = false
liczba_bitów_
int64 tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::num_bits_ = 8
Funkcje publiczne
Maks
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::Max(
float x
)
Min
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::Min(
float x
)
WąskiZakres
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::NarrowRange(
bool x
)
Liczba bitów
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::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::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.1/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.1/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.1/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.1/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.1/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."]]