Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
dòng chảy căng:: ôi:: FusedBatchNormV2:: Attr
#include <nn_ops.h>
Bộ cài đặt thuộc tính tùy chọn cho FusedBatchNormV2 .
Bản tóm tắt
Chức năng công cộng |
---|
DataFormat (StringPiece x) | Định dạng dữ liệu cho x và y. |
Epsilon (float x) | Một số float nhỏ được thêm vào phương sai của x. |
IsTraining (bool x) | Giá trị bool để biểu thị thao tác là dành cho đào tạo (mặc định) hoặc suy luận. |
Thuộc tính công khai
StringPiece tensorflow::ops::FusedBatchNormV2::Attrs::data_format_ = "NHWC"
epsilon_
float tensorflow::ops::FusedBatchNormV2::Attrs::epsilon_ = 0.0001f
đang_đào tạo_
bool tensorflow::ops::FusedBatchNormV2::Attrs::is_training_ = true
Chức năng công cộng
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormV2::Attrs::DataFormat(
StringPiece x
)
Định dạng dữ liệu cho x và y.
"NHWC" (mặc định) hoặc "NCHW".
Mặc định là "NHWC"
Epsilon
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormV2::Attrs::Epsilon(
float x
)
Một số float nhỏ được thêm vào phương sai của x.
Mặc định là 0,0001
Đang đào tạo
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormV2::Attrs::IsTraining(
bool x
)
Giá trị bool để biểu thị thao tác là dành cho đào tạo (mặc định) hoặc suy luận.
Mặc định là đúng
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# tensorflow::ops::FusedBatchNormV2::Attrs Struct Reference\n\ntensorflow::ops::FusedBatchNormV2::Attrs\n========================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [FusedBatchNormV2](/versions/r1.15/api_docs/cc/class/tensorflow/ops/fused-batch-norm-v2#classtensorflow_1_1ops_1_1_fused_batch_norm_v2).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------------|---------------|\n| [data_format_](#structtensorflow_1_1ops_1_1_fused_batch_norm_v2_1_1_attrs_1ae5819731a751be04b0d103a9ba0032b5)` = \"NHWC\"` | `StringPiece` |\n| [epsilon_](#structtensorflow_1_1ops_1_1_fused_batch_norm_v2_1_1_attrs_1a3b16ca123558ac26d6fe079087cb96f9)` = 0.0001f` | `float` |\n| [is_training_](#structtensorflow_1_1ops_1_1_fused_batch_norm_v2_1_1_attrs_1a7c4d1ee913811cd407d4049e8a04cceb)` = true` | `bool` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DataFormat](#structtensorflow_1_1ops_1_1_fused_batch_norm_v2_1_1_attrs_1a0c88b725054b7da0213cce726e13da2f)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-v2/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_v2_1_1_attrs) The data format for x and y. |\n| [Epsilon](#structtensorflow_1_1ops_1_1_fused_batch_norm_v2_1_1_attrs_1a2d79b23355a4307f2fa68d49ed92c35f)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-v2/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_v2_1_1_attrs) A small float number added to the variance of x. |\n| [IsTraining](#structtensorflow_1_1ops_1_1_fused_batch_norm_v2_1_1_attrs_1ad8e622c44d93e0282b77d38d8356e4a4)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-v2/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_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::FusedBatchNormV2::Attrs::data_format_ = \"NHWC\"\n``` \n\n### epsilon_\n\n```scdoc\nfloat tensorflow::ops::FusedBatchNormV2::Attrs::epsilon_ = 0.0001f\n``` \n\n### is_training_\n\n```scdoc\nbool tensorflow::ops::FusedBatchNormV2::Attrs::is_training_ = true\n``` \n\nPublic functions\n----------------\n\n### DataFormat\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormV2::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::FusedBatchNormV2::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::FusedBatchNormV2::Attrs::IsTraining(\n bool x\n)\n``` \nA bool value to indicate the operation is for training (default) or inference.\n\nDefaults to true"]]