#include <nn_ops.h>

Optional attribute setters for DepthwiseConv2dNativeBackpropFilter.


Public attributes

data_format_ = "NHWC"
dilations_ = {1, 1, 1, 1}
gtl::ArraySlice< int >

Public functions

DataFormat(StringPiece x)
Specify the data format of the input and output data.
Dilations(const gtl::ArraySlice< int > & x)
1-D tensor of length 4.

Public attributes


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


gtl::ArraySlice< int > tensorflow::ops::DepthwiseConv2dNativeBackpropFilter::Attrs::dilations_ = {1, 1, 1, 1}

Public functions


Attrs tensorflow::ops::DepthwiseConv2dNativeBackpropFilter::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"


Attrs tensorflow::ops::DepthwiseConv2dNativeBackpropFilter::Attrs::Dilations(
  const gtl::ArraySlice< int > & x

1-D tensor of length 4.

The dilation factor for each dimension of input. If set to k > 1, there will be k-1 skipped cells between each filter element on that dimension. The dimension order is determined by the value of data_format, see above for details. Dilations in the batch and depth dimensions must be 1.

Defaults to [1, 1, 1, 1]