Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: BiasAddGrad:: Öznitelikler
#include <nn_ops.h>
BiasAddGrad için isteğe bağlı özellik ayarlayıcılar.
Özet
Kamu işlevleri |
---|
DataFormat (StringPiece x) | Giriş ve çıkış verilerinin veri formatını belirtin. |
Genel özellikler
StringPiece tensorflow::ops::BiasAddGrad::Attrs::data_format_ = "NHWC"
Kamu işlevleri
TF_MUST_USE_RESULT Attrs tensorflow::ops::BiasAddGrad::Attrs::DataFormat(
StringPiece x
)
Giriş ve çıkış verilerinin veri formatını belirtin.
Varsayılan format olan "NHWC" ile önyargı tensörü, değer tensörünün son boyutuna eklenecektir. Alternatif olarak format, veri depolama sırası olan "NCHW" olabilir: [batch, in_channels, in_height, in_width]. Tensör, sondan üçüncü boyut olan "kanal içi" boyutuna eklenecektir.
Varsayılan "NHWC"
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],[],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\""]]