tf.keras.backend.separable_conv2d
2D convolution with separable filters.
tf.keras.backend.separable_conv2d(
x, depthwise_kernel, pointwise_kernel, strides=(1, 1), padding='valid',
data_format=None, dilation_rate=(1, 1)
)
Arguments |
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.
|
Raises |
ValueError
|
if data_format is neither channels_last or
channels_first .
|
ValueError
|
if strides is not a tuple of 2 integers.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[]]