tf.keras.backend.conv2d

TensorFlow 2 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.