Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: OdchylenieDodajGrad:: Atrybuty
#include <nn_ops.h>
Opcjonalne moduły ustawiające atrybuty dla BiasAddGrad .
Streszczenie
Funkcje publiczne |
---|
DataFormat (StringPiece x) | Określ format danych wejściowych i wyjściowych. |
Atrybuty publiczne
StringPiece tensorflow::ops::BiasAddGrad::Attrs::data_format_ = "NHWC"
Funkcje publiczne
TF_MUST_USE_RESULT Attrs tensorflow::ops::BiasAddGrad::Attrs::DataFormat(
StringPiece x
)
Określ format danych wejściowych i wyjściowych.
Przy domyślnym formacie „NHWC” tensor odchylenia zostanie dodany do ostatniego wymiaru tensora wartości. Alternatywnie formatem może być „NCHW”, a kolejność przechowywania danych to: [partia, kanały_w, wysokość_w, szerokość_w.]. Tensor zostanie dodany do „in_channels”, wymiaru od trzeciego do ostatniego.
Domyślnie „NHWC”
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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\""]]