تدفق التوتر:: العمليات:: BiasAddGrad:: Attrs
#include <nn_ops.h>
محددات السمات الاختيارية لـ BiasAddGrad .
ملخص
الصفات العامة | |
---|---|
data_format_ = "NHWC" | StringPiece |
الوظائف العامة | |
---|---|
DataFormat (StringPiece x) | TF_MUST_USE_RESULT Attrs تحديد تنسيق البيانات لبيانات الإدخال والإخراج. |
الصفات العامة
تنسيق_البيانات_
StringPiece tensorflow::ops::BiasAddGrad::Attrs::data_format_ = "NHWC"
الوظائف العامة
تنسيق البيانات
TF_MUST_USE_RESULT Attrs tensorflow::ops::BiasAddGrad::Attrs::DataFormat( StringPiece x )
تحديد تنسيق البيانات لبيانات الإدخال والإخراج.
باستخدام التنسيق الافتراضي "NHWC"، سيتم إضافة موتر التحيز إلى البعد الأخير لموتر القيمة. وبدلاً من ذلك، يمكن أن يكون التنسيق "NCHW"، بترتيب تخزين البيانات: [batch, in_channels, in_height, in_width]. ستتم إضافة الموتر إلى "in_channels"، البعد من الثالث إلى الأخير.
الإعدادات الافتراضية إلى "NHWC"
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# tensorflow::ops::BiasAddGrad::Attrs Struct Reference\n\ntensorflow::ops::BiasAddGrad::Attrs\n===================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [BiasAddGrad](/versions/r2.0/api_docs/cc/class/tensorflow/ops/bias-add-grad#classtensorflow_1_1ops_1_1_bias_add_grad).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------|---------------|\n| [data_format_](#structtensorflow_1_1ops_1_1_bias_add_grad_1_1_attrs_1a77e104a2910a669f1c39d7b0ab4b2400)` = \"NHWC\"` | `StringPiece` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DataFormat](#structtensorflow_1_1ops_1_1_bias_add_grad_1_1_attrs_1a995f86e3cabc63ba8f676d3ecdc84ea3)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/bias-add-grad/attrs#structtensorflow_1_1ops_1_1_bias_add_grad_1_1_attrs) Specify the data format of the input and output data. |\n\nPublic attributes\n-----------------\n\n### data_format_\n\n```scdoc\nStringPiece tensorflow::ops::BiasAddGrad::Attrs::data_format_ = \"NHWC\"\n``` \n\nPublic functions\n----------------\n\n### DataFormat\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::BiasAddGrad::Attrs::DataFormat(\n StringPiece x\n)\n``` \nSpecify the data format of the input and output data.\n\nWith the default format \"NHWC\", the bias tensor will be added to the last dimension of the value tensor. Alternatively, the format could be \"NCHW\", the data storage order of: \\[batch, in_channels, in_height, in_width\\]. The tensor will be added to \"in_channels\", the third-to-the-last dimension.\n\nDefaults to \"NHWC\""]]