Class BiasAddGrad.Options

java.lang.Object
org.tensorflow.op.nn.BiasAddGrad.Options
Enclosing class:
BiasAddGrad<T extends TType>

public static class BiasAddGrad.Options extends Object
Optional attributes for BiasAddGrad
  • Method Details

    • dataFormat

      public BiasAddGrad.Options dataFormat(String dataFormat)
      Sets the dataFormat option.
      Parameters:
      dataFormat - Specify the data format of the input and output data. With the default format "NHWC", the bias tensor will be added to the last dimension of the value tensor. Alternatively, the format could be "NCHW", the data storage order of: [batch, in_channels, in_height, in_width]. The tensor will be added to "in_channels", the third-to-the-last dimension.
      Returns:
      this Options instance.