tf.keras.backend.separable_conv2d(
x,
depthwise_kernel,
pointwise_kernel,
strides=(1, 1),
padding='valid',
data_format=None,
dilation_rate=(1, 1)
)
Defined in tensorflow/python/keras/backend.py
.
2D convolution with separable filters.
Arguments:
x
: input tensordepthwise_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.
Returns:
Output tensor.
Raises:
ValueError
: ifdata_format
is neitherchannels_last
orchannels_first
.