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)
destination data format.
SrcFormat(StringPiece x)
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

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

destination data format.

Defaults to "NCHW"

SrcFormat

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

source data format.

Defaults to "NHWC"