ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


TensorFlow 1 version View source on GitHub

2D convolution.

x Tensor or variable.
kernel kernel tensor.
strides strides tuple.
padding string, "same" or "valid".
data_format "channels_last" or "channels_first".
dilation_rate tuple of 2 integers.

A tensor, result of 2D convolution.

ValueError if data_format is neither channels_last or channels_first.