Save the date! Google I/O returns May 18-20 Register now


TensorFlow 1 version View source on GitHub

2D convolution with separable filters.

x input tensor
depthwise_kernel convolution kernel for the depthwise convolution.
pointwise_kernel kernel for the 1x1 convolution.
strides strides tuple (length 2).
padding string, "same" or "valid".
data_format string, "channels_last" or "channels_first".
dilation_rate tuple of integers, dilation rates for the separable convolution.

Output tensor.

ValueError if data_format is neither channels_last or channels_first.
ValueError if strides is not a tuple of 2 integers.