コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
#include <nn_ops.h>
DataFormatDimMapのオプションの属性セッター。
まとめ
パブリック属性
公共機能
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-27 UTC。
[null,null,["最終更新日 2025-07-27 UTC。"],[],[],null,["# tensorflow::ops::DataFormatDimMap::Attrs Struct Reference\n\ntensorflow::ops::DataFormatDimMap::Attrs\n========================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [DataFormatDimMap](/versions/r2.2/api_docs/cc/class/tensorflow/ops/data-format-dim-map#classtensorflow_1_1ops_1_1_data_format_dim_map).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------------|---------------|\n| [dst_format_](#structtensorflow_1_1ops_1_1_data_format_dim_map_1_1_attrs_1aa589a8906ae5486f102e787baf6bd39e)` = \"NCHW\"` | `StringPiece` |\n| [src_format_](#structtensorflow_1_1ops_1_1_data_format_dim_map_1_1_attrs_1ad67c04eda733006f13f47209df55f035)` = \"NHWC\"` | `StringPiece` |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DstFormat](#structtensorflow_1_1ops_1_1_data_format_dim_map_1_1_attrs_1a609e00984d50001f44ffedb16c3410de)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/data-format-dim-map/attrs#structtensorflow_1_1ops_1_1_data_format_dim_map_1_1_attrs) destination data format. |\n| [SrcFormat](#structtensorflow_1_1ops_1_1_data_format_dim_map_1_1_attrs_1a72196d84332efe92819a8e7b1e2963dc)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/data-format-dim-map/attrs#structtensorflow_1_1ops_1_1_data_format_dim_map_1_1_attrs) source data format. |\n\nPublic attributes\n-----------------\n\n### dst_format_\n\n```scdoc\nStringPiece tensorflow::ops::DataFormatDimMap::Attrs::dst_format_ = \"NCHW\"\n``` \n\n### src_format_\n\n```scdoc\nStringPiece tensorflow::ops::DataFormatDimMap::Attrs::src_format_ = \"NHWC\"\n``` \n\nPublic functions\n----------------\n\n### DstFormat\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatDimMap::Attrs::DstFormat(\n StringPiece x\n)\n``` \ndestination data format.\n\nDefaults to \"NCHW\" \n\n### SrcFormat\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatDimMap::Attrs::SrcFormat(\n StringPiece x\n)\n``` \nsource data format.\n\nDefaults to \"NHWC\""]]