Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: LRN:: Atrybuty
#include <nn_ops.h>
Opcjonalne narzędzia ustawiające atrybuty dla LRN .
Streszczenie
Funkcje publiczne |
---|
Alpha (float x) | Współczynnik skali, zwykle dodatni. |
Beta (float x) | Wykładnik. |
Bias (float x) | Przesunięcie (zwykle dodatnie, aby uniknąć dzielenia przez 0). |
DepthRadius (int64 x) | 0-D. |
Atrybuty publiczne
alfa_
float tensorflow::ops::LRN::Attrs::alpha_ = 1.0f
beta_
float tensorflow::ops::LRN::Attrs::beta_ = 0.5f
stronniczość_
float tensorflow::ops::LRN::Attrs::bias_ = 1.0f
głębokość_promień_
int64 tensorflow::ops::LRN::Attrs::depth_radius_ = 5
Funkcje publiczne
Alfa
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Alpha(
float x
)
Współczynnik skali, zwykle dodatni.
Domyślnie 1
Beta
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Beta(
float x
)
Wykładnik.
Wartość domyślna to 0,5
Stronniczość
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Bias(
float x
)
Przesunięcie (zwykle dodatnie, aby uniknąć dzielenia przez 0).
Domyślnie 1
GłębokośćPromień
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::DepthRadius(
int64 x
)
0-D.
Połowa szerokości okna normalizacji 1-D.
Domyślnie 5
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-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# tensorflow::ops::LRN::Attrs Struct Reference\n\ntensorflow::ops::LRN::Attrs\n===========================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [LRN](/versions/r2.0/api_docs/cc/class/tensorflow/ops/l-r-n#classtensorflow_1_1ops_1_1_l_r_n).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------|---------|\n| [alpha_](#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs_1a96e4ae15c569f3834c4dc592d059975e)` = 1.0f` | `float` |\n| [beta_](#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs_1ab73612c6eb66d4709bdf6a058fd0c8bd)` = 0.5f` | `float` |\n| [bias_](#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs_1ad01ed0552bcde45fa4286039c403c40b)` = 1.0f` | `float` |\n| [depth_radius_](#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs_1a93ddf2fa1f86831474fe73832c003868)` = 5` | `int64` |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Alpha](#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs_1a9d252abcaa1d05d285caace0a2754d2a)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/l-r-n/attrs#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs) A scale factor, usually positive. |\n| [Beta](#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs_1af7c2036a24ffc2d89f2a589d8e7348be)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/l-r-n/attrs#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs) An exponent. |\n| [Bias](#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs_1a76bb974a64ea15024227c37d18b6f6f1)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/l-r-n/attrs#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs) An offset (usually positive to avoid dividing by 0). |\n| [DepthRadius](#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs_1aaea5f7c6560e9158ff50a68fbd7e7182)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/l-r-n/attrs#structtensorflow_1_1ops_1_1_l_r_n_1_1_attrs) 0-D. |\n\nPublic attributes\n-----------------\n\n### alpha_\n\n```scdoc\nfloat tensorflow::ops::LRN::Attrs::alpha_ = 1.0f\n``` \n\n### beta_\n\n```scdoc\nfloat tensorflow::ops::LRN::Attrs::beta_ = 0.5f\n``` \n\n### bias_\n\n```scdoc\nfloat tensorflow::ops::LRN::Attrs::bias_ = 1.0f\n``` \n\n### depth_radius_\n\n```scdoc\nint64 tensorflow::ops::LRN::Attrs::depth_radius_ = 5\n``` \n\nPublic functions\n----------------\n\n### Alpha\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Alpha(\n float x\n)\n``` \nA scale factor, usually positive.\n\nDefaults to 1 \n\n### Beta\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Beta(\n float x\n)\n``` \nAn exponent.\n\nDefaults to 0.5 \n\n### Bias\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Bias(\n float x\n)\n``` \nAn offset (usually positive to avoid dividing by 0).\n\nDefaults to 1 \n\n### DepthRadius\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::DepthRadius(\n int64 x\n)\n``` \n0-D.\n\nHalf-width of the 1-D normalization window.\n\nDefaults to 5"]]