Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: FusedBatchNorm:: Atrybuty
#include <nn_ops.h>
Opcjonalne moduły ustawiające atrybuty dla FusedBatchNorm .
Streszczenie
Funkcje publiczne |
---|
DataFormat (StringPiece x) | Format danych dla x i y. |
Epsilon (float x) | Mała liczba zmiennoprzecinkowa dodana do wariancji x. |
ExponentialAvgFactor (float x) | Domyślnie 1. |
IsTraining (bool x) | Wartość bool wskazująca, że operacja służy do uczenia (domyślnie) lub wnioskowania. |
Atrybuty publiczne
StringPiece tensorflow::ops::FusedBatchNorm::Attrs::data_format_ = "NHWC"
epsilon_
float tensorflow::ops::FusedBatchNorm::Attrs::epsilon_ = 0.0001f
wykładniczy_średni_czynnik_
float tensorflow::ops::FusedBatchNorm::Attrs::exponential_avg_factor_ = 1.0f
jest_szkoleniem_
bool tensorflow::ops::FusedBatchNorm::Attrs::is_training_ = true
Funkcje publiczne
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNorm::Attrs::DataFormat(
StringPiece x
)
Format danych dla x i y.
Albo „NHWC” (domyślnie) albo „NCHW”.
Domyślnie „NHWC”
Epsilon
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNorm::Attrs::Epsilon(
float x
)
Mała liczba zmiennoprzecinkowa dodana do wariancji x.
Wartość domyślna to 0,0001
Wykładniczy czynnikśredni
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNorm::Attrs::ExponentialAvgFactor(
float x
)
Jest szkolenie
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNorm::Attrs::IsTraining(
bool x
)
Wartość bool wskazująca, że operacja służy do uczenia (domyślnie) lub wnioskowania.
Domyślnie jest to prawda
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::FusedBatchNorm::Attrs Struct Reference\n\ntensorflow::ops::FusedBatchNorm::Attrs\n======================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [FusedBatchNorm](/versions/r2.3/api_docs/cc/class/tensorflow/ops/fused-batch-norm#classtensorflow_1_1ops_1_1_fused_batch_norm).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------------------|---------------|\n| [data_format_](#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs_1ad08bbe8f4a5e2b88a0b6782556f7a7af)` = \"NHWC\"` | `StringPiece` |\n| [epsilon_](#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs_1a2f380f8f4752e9caf2aefc61f503a840)` = 0.0001f` | `float` |\n| [exponential_avg_factor_](#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs_1a16c8b5d0b198b34d61d560400aebfabb)` = 1.0f` | `float` |\n| [is_training_](#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs_1a1c18cc285c005e17c7a2295bee77df99)` = true` | `bool` |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DataFormat](#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs_1a70965ec834a9dd0a0c7db2914c88b1a3)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/fused-batch-norm/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs) The data format for x and y. |\n| [Epsilon](#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs_1a3a6de6a7b5a477a973b8d403eeeb93c0)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/fused-batch-norm/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs) A small float number added to the variance of x. |\n| [ExponentialAvgFactor](#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs_1a3e60737f356014bbde0d25ed4c8d3f81)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/fused-batch-norm/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs) Defaults to 1. |\n| [IsTraining](#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs_1a4dd34686bbdd16f758fb0b5725e92a28)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/fused-batch-norm/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_1_1_attrs) A bool value to indicate the operation is for training (default) or inference. |\n\nPublic attributes\n-----------------\n\n### data_format_\n\n```scdoc\nStringPiece tensorflow::ops::FusedBatchNorm::Attrs::data_format_ = \"NHWC\"\n``` \n\n### epsilon_\n\n```scdoc\nfloat tensorflow::ops::FusedBatchNorm::Attrs::epsilon_ = 0.0001f\n``` \n\n### exponential_avg_factor_\n\n```scdoc\nfloat tensorflow::ops::FusedBatchNorm::Attrs::exponential_avg_factor_ = 1.0f\n``` \n\n### is_training_\n\n```scdoc\nbool tensorflow::ops::FusedBatchNorm::Attrs::is_training_ = true\n``` \n\nPublic functions\n----------------\n\n### DataFormat\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNorm::Attrs::DataFormat(\n StringPiece x\n)\n``` \nThe data format for x and y.\n\nEither \"NHWC\" (default) or \"NCHW\".\n\nDefaults to \"NHWC\" \n\n### Epsilon\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNorm::Attrs::Epsilon(\n float x\n)\n``` \nA small float number added to the variance of x.\n\nDefaults to 0.0001 \n\n### ExponentialAvgFactor\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNorm::Attrs::ExponentialAvgFactor(\n float x\n)\n``` \nDefaults to 1. \n\n### IsTraining\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNorm::Attrs::IsTraining(\n bool x\n)\n``` \nA bool value to indicate the operation is for training (default) or inference.\n\nDefaults to true"]]