<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/experimental/joint_distribution_layers/layers.py#L122-L192) |

Creates a `Conv2DLayer` class.

    tfp.experimental.joint_distribution_layers.make_conv2d_layer_class(
        strides, padding
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `strides` | A 2-tuple of positive integers. Strides for the spatial dimensions. |
| `padding` | A Python string. Can be either 'SAME' or 'VALID'. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| `conv2d_layer_class` | A new `Conv2DLayer` class that closes over the args to this function. |

<br />