# Conv.Options

public static class **Conv.Options** Optional attributes for `https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv`

### Public Methods

|---|---|
| [Conv.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options) | [batchDims](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options#batchDims(java.lang.Long))(Long batchDims) |
| [Conv.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options) | [dataFormat](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options#dataFormat(java.lang.String))(String dataFormat) |
| [Conv.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options) | [dilations](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options#dilations(java.util.List<java.lang.Long>))(List\<Long\> dilations) |
| [Conv.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options) | [explicitPaddings](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options#explicitPaddings(java.util.List<java.lang.Long>))(List\<Long\> explicitPaddings) |
| [Conv.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options) | [groups](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options#groups(java.lang.Long))(Long groups) |

### Inherited Methods

From class java.lang.Object

|---|---|
| boolean | equals(Object arg0) |
| final Class\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| String | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## Public Methods

#### public [Conv.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options)
**batchDims**
(Long batchDims)

<br />

##### Parameters

| batchDims | A positive integer specifying the number of batch dimensions for the input tensor. Should be less than the rank of the input tensor. |
|---|---|

#### public [Conv.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options)
**dataFormat**
(String dataFormat)

<br />

##### Parameters

| dataFormat | Used to set the data format. By default \`CHANNELS_FIRST\`, uses \`NHWC (2D) / NDHWC (3D)\` or if \`CHANNELS_LAST\`, uses \`NCHW (2D) / NCDHW (3D)\`. |
|---|---|

#### public [Conv.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options)
**dilations**
(List\<Long\> dilations)

<br />

##### Parameters

| dilations | 1-D tensor of length \`N+2\`. 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 \`channels_last_format\`, see above for details. Dilations in the batch and depth dimensions must be 1. |
|---|---|

#### public [Conv.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options)
**explicitPaddings**
(List\<Long\> explicitPaddings)

<br />

##### Parameters

| explicitPaddings | If \`padding\` is \`"EXPLICIT"\`, the list of explicit padding amounts. For the ith dimension, the amount of padding inserted before and after the dimension is \`explicit_paddings\[2 \* i\]\` and \`explicit_paddings\[2 \* i + 1\]\`, respectively. If \`padding\` is not \`"EXPLICIT"\`, \`explicit_paddings\` must be empty. |
|---|---|

#### public [Conv.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv.Options)
**groups**
(Long groups)

<br />

##### Parameters

| groups | A positive integer specifying the number of groups in which the input is split along the channel axis. Each group is convolved separately with \`filters / groups\` filters. The output is the concatenation of all the groups results along the channel axis. Input channels and filters must both be divisible by groups. |
|---|---|