#include <nn_ops.h>
Optional attribute setters for DataFormatDimMap.
Public attributes | |
---|---|
dst_format_ = "NCHW" | StringPiece |
src_format_ = "NHWC" | StringPiece |
Public functions | |
---|---|
DstFormat(StringPiece x) | TF_MUST_USE_RESULT Attrs destination data format. |
SrcFormat(StringPiece x) | TF_MUST_USE_RESULT Attrs source data format. |
StringPiece tensorflow::ops::DataFormatDimMap::Attrs::dst_format_ = "NCHW"
StringPiece tensorflow::ops::DataFormatDimMap::Attrs::src_format_ = "NHWC"
TF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatDimMap::Attrs::DstFormat( StringPiece x )
destination data format.
Defaults to "NCHW"
TF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatDimMap::Attrs::SrcFormat( StringPiece x )
source data format.
Defaults to "NHWC"
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/data-format-dim-map/attrs.html