コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
#include <nn_ops.h>
DepthwiseConv2dNativeBackpropInputのオプションの属性セッター。
まとめ
公共機能 |
---|
DataFormat (StringPiece x) | 入出力データのデータ形式を指定します。 |
Dilations (const gtl::ArraySlice< int > & x) | 長さ 4 の 1 次元テンソル。 |
パブリック属性
公共機能
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。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.1/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.1/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.1/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\\]"]]