Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
tensoreflusso:: ops:: LRN:: Attr
#include <nn_ops.h>
Setter di attributi facoltativi per LRN .
Riepilogo
Funzioni pubbliche |
---|
Alpha (float x) | Un fattore di scala, solitamente positivo. |
Beta (float x) | Un esponente. |
Bias (float x) | Un offset (solitamente positivo per evitare la divisione per 0). |
DepthRadius (int64 x) | 0-D. |
Attributi pubblici
alfa_
float tensorflow::ops::LRN::Attrs::alpha_ = 1.0f
beta_
float tensorflow::ops::LRN::Attrs::beta_ = 0.5f
pregiudizio_
float tensorflow::ops::LRN::Attrs::bias_ = 1.0f
profondità_raggio_
int64 tensorflow::ops::LRN::Attrs::depth_radius_ = 5
Funzioni pubbliche
Alfa
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Alpha(
float x
)
Un fattore di scala, solitamente positivo.
Il valore predefinito è 1
Beta
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Beta(
float x
)
Un esponente.
Il valore predefinito è 0,5
Pregiudizio
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Bias(
float x
)
Un offset (solitamente positivo per evitare la divisione per 0).
Il valore predefinito è 1
ProfonditàRaggio
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::DepthRadius(
int64 x
)
0-D.
Metà larghezza della finestra di normalizzazione 1-D.
Il valore predefinito è 5
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 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.1/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.1/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.1/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.1/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.1/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"]]