Stay organized with collections
Save and categorize content based on your preferences.
#include <nn_ops.h>
Optional attribute setters for DataFormatDimMap.
Summary
Public functions
|
DstFormat(StringPiece x)
|
destination data format.
|
SrcFormat(StringPiece x)
|
source data format.
|
Public attributes
Public functions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[null,null,["Last updated 2021-11-15 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](/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](/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](/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\""]]