جریان تنسور:: عملیات:: 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"
توابع عمومی
DataFormat
TF_MUST_USE_RESULT Attrs tensorflow::ops::BiasAddGrad::Attrs::DataFormat( StringPiece x )
فرمت داده داده های ورودی و خروجی را مشخص کنید.
با فرمت پیشفرض "NHWC"، تانسور بایاس به آخرین بعد تانسور مقدار اضافه میشود. از طرف دیگر، قالب میتواند «NCHW» باشد، ترتیب ذخیرهسازی دادهها: [دستهای، در کانالها، در ارتفاع، در عرض]. تانسور به "in_channels"، بعد سوم تا آخر اضافه خواهد شد.
پیشفرضهای «NHWC»
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده 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\""]]