tensorflow:: ops:: DataFormatDimMap:: Attrs

#include <nn_ops.h>

Optional attribute setters for DataFormatDimMap .

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::DataFormatDimMap::Attrs::dst_format_ = "NCHW"

src_format_

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

Public functions

DstFormat

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

destination data format.

Defaults to "NCHW"

SrcFormat

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

source data format.

Defaults to "NHWC"