Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: FusedBatchNormGrad:: Atrybuty
#include <nn_ops.h>
Opcjonalne moduły ustawiające atrybuty dla FusedBatchNormGrad .
Streszczenie
Funkcje publiczne |
---|
DataFormat (StringPiece x) | Format danych dla y_backprop, x, x_backprop. |
Epsilon (float x) | Mała liczba zmiennoprzecinkowa dodana do wariancji x. |
IsTraining (bool x) | Wartość bool wskazująca, że operacja służy do uczenia (domyślnie) lub wnioskowania. |
Atrybuty publiczne
StringPiece tensorflow::ops::FusedBatchNormGrad::Attrs::data_format_ = "NHWC"
epsilon_
float tensorflow::ops::FusedBatchNormGrad::Attrs::epsilon_ = 0.0001f
jest_szkoleniem_
bool tensorflow::ops::FusedBatchNormGrad::Attrs::is_training_ = true
Funkcje publiczne
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::Attrs::DataFormat(
StringPiece x
)
Format danych dla y_backprop, x, x_backprop.
Albo „NHWC” (domyślnie) albo „NCHW”.
Domyślnie „NHWC”
Epsilon
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::Attrs::Epsilon(
float x
)
Mała liczba zmiennoprzecinkowa dodana do wariancji x.
Wartość domyślna to 0,0001
Jest szkolenie
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::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-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# tensorflow::ops::FusedBatchNormGrad::Attrs Struct Reference\n\ntensorflow::ops::FusedBatchNormGrad::Attrs\n==========================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [FusedBatchNormGrad](/versions/r1.15/api_docs/cc/class/tensorflow/ops/fused-batch-norm-grad#classtensorflow_1_1ops_1_1_fused_batch_norm_grad).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------------|---------------|\n| [data_format_](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1ae71b771b9db0665a44fd75b59c61fc51)` = \"NHWC\"` | `StringPiece` |\n| [epsilon_](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1aef11a50c6322301c92a348df3693d53c)` = 0.0001f` | `float` |\n| [is_training_](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1a8c4f68d91902210a40cf26c38a9fe335)` = true` | `bool` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DataFormat](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1a10fee31a9497e546fc437360f4cf364f)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs) The data format for y_backprop, x, x_backprop. |\n| [Epsilon](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1a5f91a98450585e0951d1b1570469bf1c)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs) A small float number added to the variance of x. |\n| [IsTraining](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1a10e394de95847f572463091909294af3)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_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::FusedBatchNormGrad::Attrs::data_format_ = \"NHWC\"\n``` \n\n### epsilon_\n\n```scdoc\nfloat tensorflow::ops::FusedBatchNormGrad::Attrs::epsilon_ = 0.0001f\n``` \n\n### is_training_\n\n```scdoc\nbool tensorflow::ops::FusedBatchNormGrad::Attrs::is_training_ = true\n``` \n\nPublic functions\n----------------\n\n### DataFormat\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::Attrs::DataFormat(\n StringPiece x\n)\n``` \nThe data format for y_backprop, x, x_backprop.\n\nEither \"NHWC\" (default) or \"NCHW\".\n\nDefaults to \"NHWC\" \n\n### Epsilon\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::Attrs::Epsilon(\n float x\n)\n``` \nA small float number added to the variance of x.\n\nDefaults to 0.0001 \n\n### IsTraining\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::Attrs::IsTraining(\n bool x\n)\n``` \nA bool value to indicate the operation is for training (default) or inference.\n\nDefaults to true"]]