# Conv2DBackpropInputV2

public final class **Conv2DBackpropInputV2** Computes the gradients of convolution with respect to the input.

### Nested Classes

|---|---|---|---|
| class | [Conv2DBackpropInputV2.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2.Options) || Optional attributes for `https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2` |

### Public Methods

|---|---|
| [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<T\> | [asOutput](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2#asOutput())() Returns the symbolic handle of a tensor. |
| static \<T extends Number\> [Conv2DBackpropInputV2](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2)\<T\> | [create](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2#create(org.tensorflow.op.Scope,%20org.tensorflow.Operand<T>,%20org.tensorflow.Operand<T>,%20org.tensorflow.Operand<T>,%20java.util.List<java.lang.Long>,%20java.lang.String,%20org.tensorflow.op.core.Conv2DBackpropInputV2.Options...))([Scope](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/Scope) scope, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> input, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> filter, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> outBackprop, List\<Long\> strides, String padding, [Options...](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2.Options) options) Factory method to create a class wrapping a new Conv2DBackpropInputV2 operation. |
| static [Conv2DBackpropInputV2.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2.Options) | [dataFormat](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2#dataFormat(java.lang.String))(String dataFormat) |
| static [Conv2DBackpropInputV2.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2.Options) | [dilations](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2#dilations(java.util.List<java.lang.Long>))(List\<Long\> dilations) |
| static [Conv2DBackpropInputV2.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2.Options) | [explicitPaddings](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2#explicitPaddings(java.util.List<java.lang.Long>))(List\<Long\> explicitPaddings) |
| [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<T\> | [output](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2#output())() 4-D with shape \`\[batch, in_height, in_width, in_channels\]\`. |
| static [Conv2DBackpropInputV2.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2.Options) | [useCudnnOnGpu](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2#useCudnnOnGpu(java.lang.Boolean))(Boolean useCudnnOnGpu) |

### Inherited Methods

From class [org.tensorflow.op.PrimitiveOp](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp)

|---|---|
| final boolean | [equals](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#equals(java.lang.Object))(Object obj) |
| final int | [hashCode](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#hashCode())() |
| [Operation](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operation) | [op](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#op())() Returns the underlying `https://www.tensorflow.org/api_docs/java/org/tensorflow/Operation` |
| final String | [toString](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#toString())() |

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() |

From interface [org.tensorflow.Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)

|---|---|
| abstract [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<T\> | [asOutput](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand#asOutput())() Returns the symbolic handle of a tensor. |

## Public Methods

#### public [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<T\>
**asOutput**
()

Returns the symbolic handle of a tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is
used to obtain a symbolic handle that represents the computation of the input.

<br />

#### public static [Conv2DBackpropInputV2](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2)\<T\>
**create**
([Scope](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/Scope) scope, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> input, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> filter, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> outBackprop, List\<Long\> strides, String padding, [Options...](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2.Options) options)

Factory method to create a class wrapping a new Conv2DBackpropInputV2 operation.

##### Parameters

| scope | current scope |
| input | 4-D with shape \`\[batch, in_height, in_width, in_channels\]\`. Only shape of tensor is used. |
| filter | 4-D with shape \`\[filter_height, filter_width, in_channels, out_channels\]\`. |
| outBackprop | 4-D with shape \`\[batch, out_height, out_width, out_channels\]\`. Gradients w.r.t. the output of the convolution. |
| strides | The stride of the sliding window for each dimension of the input of the convolution. Must be in the same order as the dimension specified with format. |
| padding | The type of padding algorithm to use. |
| options | carries optional attributes values |
|---|---|

##### Returns

- a new instance of Conv2DBackpropInputV2

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

<br />

##### Parameters

| dataFormat | Specify the data format of the input and output data. With the default format "NHWC", the data is stored in the order of: \[batch, in_height, in_width, in_channels\]. Alternatively, the format could be "NCHW", the data storage order of: \[batch, in_channels, in_height, in_width\]. |
|---|---|

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

<br />

##### Parameters

| dilations | 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. |
|---|---|

#### public static [Conv2DBackpropInputV2.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2.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 [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<T\>
**output**
()

4-D with shape \`\[batch, in_height, in_width, in_channels\]\`. Gradient
w.r.t. the input of the convolution.

#### public static [Conv2DBackpropInputV2.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Conv2DBackpropInputV2.Options)
**useCudnnOnGpu**
(Boolean useCudnnOnGpu)

<br />