Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
#include <nn_ops.h>
Необязательные установщики атрибутов для DepthwiseConv2dNativeBackpropInput .
Краткое содержание
Общественные функции |
---|
DataFormat (StringPiece x) | Укажите формат входных и выходных данных. |
Dilations (const gtl::ArraySlice< int > & x) | 1D тензор длины 4. |
Публичные атрибуты
Общественные функции
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[],[],null,["# tensorflow::ops::DepthwiseConv2dNativeBackpropInput::Attrs Struct Reference\n\ntensorflow::ops::DepthwiseConv2dNativeBackpropInput::Attrs\n==========================================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [DepthwiseConv2dNativeBackpropInput](/versions/r2.0/api_docs/cc/class/tensorflow/ops/depthwise-conv2d-native-backprop-input#classtensorflow_1_1ops_1_1_depthwise_conv2d_native_backprop_input).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------|\n| [data_format_](#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_backprop_input_1_1_attrs_1a26f5fbb513bf1e765c25e6c4f1a04cc7)` = \"NHWC\"` | `StringPiece` |\n| [dilations_](#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_backprop_input_1_1_attrs_1acb24883dc03d2d9afad50540635d020d)` = Default_dilations()` | `gtl::ArraySlice\u003c int \u003e` |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DataFormat](#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_backprop_input_1_1_attrs_1a9ea5e2ace7b86cb61ba6276927a29be4)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/depthwise-conv2d-native-backprop-input/attrs#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_backprop_input_1_1_attrs) Specify the data format of the input and output data. |\n| [Dilations](#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_backprop_input_1_1_attrs_1acdab720d55c0c8d0d22f2031e83b6bc1)`(const gtl::ArraySlice\u003c int \u003e & x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/depthwise-conv2d-native-backprop-input/attrs#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_backprop_input_1_1_attrs) 1-D tensor of length 4. |\n\nPublic attributes\n-----------------\n\n### data_format_\n\n```scdoc\nStringPiece tensorflow::ops::DepthwiseConv2dNativeBackpropInput::Attrs::data_format_ = \"NHWC\"\n``` \n\n### dilations_\n\n```scdoc\ngtl::ArraySlice\u003c int \u003e tensorflow::ops::DepthwiseConv2dNativeBackpropInput::Attrs::dilations_ = Default_dilations()\n``` \n\nPublic functions\n----------------\n\n### DataFormat\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::DepthwiseConv2dNativeBackpropInput::Attrs::DataFormat(\n StringPiece x\n)\n``` \nSpecify the data format of the input and output data.\n\nWith the default format \"NHWC\", the data is stored in the order of: \\[batch, height, width, channels\\]. Alternatively, the format could be \"NCHW\", the data storage order of: \\[batch, channels, height, width\\].\n\nDefaults to \"NHWC\" \n\n### Dilations\n\n```gdscript\nTF_MUST_USE_RESULT Attrs tensorflow::ops::DepthwiseConv2dNativeBackpropInput::Attrs::Dilations(\n const gtl::ArraySlice\u003c int \u003e & x\n)\n``` \n1-D tensor of length 4.\n\nThe dilation factor for each dimension of `input`. If set to k \\\u003e 1, there will be k-1 skipped cells between each filter element on that dimension. The dimension order is determined by the value of `data_format`, see above for details. Dilations in the batch and depth dimensions must be 1.\n\nDefaults to \\[1, 1, 1, 1\\]"]]