Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: FusedBatchNormGradV2:: Atrybuty
#include <nn_ops.h>
Opcjonalne moduły ustawiające atrybuty dla FusedBatchNormGradV2 .
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::FusedBatchNormGradV2::Attrs::data_format_ = "NHWC"
epsilon_
float tensorflow::ops::FusedBatchNormGradV2::Attrs::epsilon_ = 0.0001f
jest_szkoleniem_
bool tensorflow::ops::FusedBatchNormGradV2::Attrs::is_training_ = true
Funkcje publiczne
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGradV2::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::FusedBatchNormGradV2::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::FusedBatchNormGradV2::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::FusedBatchNormGradV2::Attrs Struct Reference\n\ntensorflow::ops::FusedBatchNormGradV2::Attrs\n============================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [FusedBatchNormGradV2](/versions/r2.0/api_docs/cc/class/tensorflow/ops/fused-batch-norm-grad-v2#classtensorflow_1_1ops_1_1_fused_batch_norm_grad_v2).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------------------|---------------|\n| [data_format_](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v2_1_1_attrs_1a5c7e5651428b698cd994fc8a81d33908)` = \"NHWC\"` | `StringPiece` |\n| [epsilon_](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v2_1_1_attrs_1a3ec2c53bad089cfc23146de77cbc3666)` = 0.0001f` | `float` |\n| [is_training_](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v2_1_1_attrs_1afb0be5403a6c70a701ec4192098aa58e)` = true` | `bool` |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DataFormat](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v2_1_1_attrs_1a91225bbb0dc8413eafb12acd0e862616)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad-v2/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v2_1_1_attrs) The data format for y_backprop, x, x_backprop. |\n| [Epsilon](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v2_1_1_attrs_1a9afb73d357cab1d8204b4f0ade6e5362)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad-v2/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v2_1_1_attrs) A small float number added to the variance of x. |\n| [IsTraining](#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v2_1_1_attrs_1aae977c700d666da2b88a0777b191145a)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad-v2/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v2_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::FusedBatchNormGradV2::Attrs::data_format_ = \"NHWC\"\n``` \n\n### epsilon_\n\n```scdoc\nfloat tensorflow::ops::FusedBatchNormGradV2::Attrs::epsilon_ = 0.0001f\n``` \n\n### is_training_\n\n```scdoc\nbool tensorflow::ops::FusedBatchNormGradV2::Attrs::is_training_ = true\n``` \n\nPublic functions\n----------------\n\n### DataFormat\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGradV2::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::FusedBatchNormGradV2::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::FusedBatchNormGradV2::Attrs::IsTraining(\n bool x\n)\n``` \nA bool value to indicate the operation is for training (default) or inference.\n\nDefaults to true"]]