Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
#include <nn_ops.h>
DataFormatDimMap için isteğe bağlı öznitelik ayarlayıcılar.
Özet
Kamu işlevleri |
---|
DstFormat (StringPiece x) | Hedef veri formatı. |
SrcFormat (StringPiece x) | kaynak veri formatı. |
Genel özellikler
Kamu işlevleri
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-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 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.1/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.1/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.1/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\""]]