tensorflow::ops::DataFormatVecPermute::Attrs

#include <nn_ops.h>

Optional attribute setters for DataFormatVecPermute.

Summary

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.

Public attributes

dst_format_

StringPiece tensorflow::ops::DataFormatVecPermute::Attrs::dst_format_ = "NCHW"

src_format_

StringPiece tensorflow::ops::DataFormatVecPermute::Attrs::src_format_ = "NHWC"

Public functions

DstFormat

TF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatVecPermute::Attrs::DstFormat(
  StringPiece x
)

destination data format.

Defaults to "NCHW"

SrcFormat

TF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatVecPermute::Attrs::SrcFormat(
  StringPiece x
)

source data format.

Defaults to "NHWC"

© 2020 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.4/api_docs/cc/struct/tensorflow/ops/data-format-vec-permute/attrs