tensorflow::ops::DataFormatDimMap::Attrs
#include <nn_ops.h>
Дополнительные атрибуты для DataFormatDimMap.
Краткое описание
| Общедоступные атрибуты | |
|---|---|
dst_format_ = "NCHW" | StringPiece |
src_format_ = "NHWC" | StringPiece |
| Общедоступные функции | |
|---|---|
DstFormat(StringPiece x) | TF_MUST_USE_RESULT Attrs Формат назначения данных. |
SrcFormat(StringPiece x) | TF_MUST_USE_RESULT Attrs Формат исходных данных. |
Общедоступные атрибуты
dst_format_
StringPiece tensorflow::ops::DataFormatDimMap::Attrs::dst_format_ = "NCHW"
src_format_
StringPiece tensorflow::ops::DataFormatDimMap::Attrs::src_format_ = "NHWC"
Общедоступные функции
DstFormat
TF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatDimMap::Attrs::DstFormat( StringPiece x )
Формат назначения данных.
По умолчанию "NCHW"
SrcFormat
TF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatDimMap::Attrs::SrcFormat( StringPiece x )
Формат исходных данных.
По умолчанию "NHWC"
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/cc/struct/tensorflow/ops/data-format-dim-map/attrs