संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: BiasAddGrad
#include <nn_ops.h>
"बायस" टेंसर पर "बायसएड" के लिए बैकवर्ड ऑपरेशन।
सारांश
यह out_backprop से फीचर आयाम में सभी मानों को एकत्रित करता है। NHWC डेटा प्रारूप के लिए, सुविधा आयाम अंतिम है। एनसीएचडब्ल्यू डेटा प्रारूप के लिए, फीचर आयाम तीसरे से अंतिम है।
तर्क:
- स्कोप: एक स्कोप ऑब्जेक्ट
- आउट_बैकप्रॉप: आयामों की कोई भी संख्या।
वैकल्पिक विशेषताएँ (देखें Attrs
):
- data_format: इनपुट और आउटपुट डेटा का डेटा प्रारूप निर्दिष्ट करें। डिफ़ॉल्ट प्रारूप "एनएचडब्ल्यूसी" के साथ, बायस टेंसर को वैल्यू टेंसर के अंतिम आयाम में जोड़ा जाएगा। वैकल्पिक रूप से, प्रारूप "एनसीएचडब्ल्यू" हो सकता है, डेटा भंडारण क्रम: [बैच, इन_चैनल्स, इन_हाइट, इन_विड्थ]। टेंसर को "in_channels", तीसरे से अंतिम आयाम तक जोड़ा जाएगा।
रिटर्न:
-
Output
: आकार के साथ 1-डी, out_backprop
का फीचर आयाम।
सार्वजनिक स्थैतिक कार्य |
---|
DataFormat (StringPiece x) | |
सार्वजनिक गुण
सार्वजनिक समारोह
नोड
::tensorflow::Node * node() const
operator::tensorflow::Input() const
ऑपरेटर::टेन्सरफ़्लो::आउटपुट
operator::tensorflow::Output() const
सार्वजनिक स्थैतिक कार्य
Attrs DataFormat(
StringPiece x
)
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],[],null,["# tensorflow::ops::BiasAddGrad Class Reference\n\ntensorflow::ops::BiasAddGrad\n============================\n\n`#include \u003cnn_ops.h\u003e`\n\nThe backward operation for \"BiasAdd\" on the \"bias\" tensor.\n\nSummary\n-------\n\nIt accumulates all the values from out_backprop into the feature dimension. For NHWC data format, the feature dimension is the last. For NCHW data format, the feature dimension is the third-to-last.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- out_backprop: [Any](/versions/r2.0/api_docs/cc/class/tensorflow/ops/any#classtensorflow_1_1ops_1_1_any) number of dimensions.\n\n\u003cbr /\u003e\n\nOptional attributes (see [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)):\n\n- data_format: Specify the data format of the input and output data. With 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\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): 1-D with size the feature dimension of `out_backprop`.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [BiasAddGrad](#classtensorflow_1_1ops_1_1_bias_add_grad_1a0b471227bda69729c6aef3eedee7ce76)`(const ::`[tensorflow::Scope](/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` out_backprop)` ||\n| [BiasAddGrad](#classtensorflow_1_1ops_1_1_bias_add_grad_1a7ed7a556f0defe36d84e76b4e1d82520)`(const ::`[tensorflow::Scope](/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` out_backprop, const `[BiasAddGrad::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)` & attrs)` ||\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_bias_add_grad_1aac9a30fd0d04953d33bfab584e16129e) | [Operation](/versions/r2.0/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_bias_add_grad_1ad08acfbdc2d0884b697b7a5bbc697ae8) | `::`[tensorflow::Output](/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_bias_add_grad_1aeccff457f3c53d6baabeb9c55f6652f2)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_bias_add_grad_1a5bad18eefc1b7c3abb7e355a2ac9f7e8)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_bias_add_grad_1a2599155ff799c242f1114fe34acc6280)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|-------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| [DataFormat](#classtensorflow_1_1ops_1_1_bias_add_grad_1a2d3136a07563909023605499a1fd4600)`(StringPiece x)` | [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) |\n\n| ### Structs ||\n|-------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::BiasAddGrad::Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/bias-add-grad/attrs) | Optional 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\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### BiasAddGrad\n\n```gdscript\n BiasAddGrad(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input out_backprop\n)\n``` \n\n### BiasAddGrad\n\n```gdscript\n BiasAddGrad(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input out_backprop,\n const BiasAddGrad::Attrs & attrs\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n``` \n\nPublic static functions\n-----------------------\n\n### DataFormat\n\n```text\nAttrs DataFormat(\n StringPiece x\n)\n```"]]