W3cubDocs

/TensorFlow C++

tensorflow::ops::DepthwiseConv2dNative::Attrs

#include <nn_ops.h>

Optional attribute setters for DepthwiseConv2dNative.

Summary

Public attributes
data_format_ = "NHWC"
StringPiece
Public functions
DataFormat(StringPiece x)
Specify the data format of the input and output data.

Public attributes

data_format_

StringPiece tensorflow::ops::DepthwiseConv2dNative::Attrs::data_format_ = "NHWC"

Public functions

DataFormat

Attrs tensorflow::ops::DepthwiseConv2dNative::Attrs::DataFormat(
  StringPiece x
)

Specify the data format of the input and output data.

With the default format "NHWC", the data is stored in the order of: [batch, height, width, channels]. Alternatively, the format could be "NCHW", the data storage order of: [batch, channels, height, width].

Defaults to "NHWC"

© 2017 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/depthwise-conv2d-native/attrs.html