class DepthwiseConv2D(Conv2D): | |
"""Depthwise separable 2D convolution. | |
Depthwise Separable convolutions consists in performing | |
just the first step in a depthwise spatial convolution | |
(which acts on each input channel separately). | |
The `depth_multiplier` argument controls how many | |
output channels are generated per input channel in the depthwise step. |
class SeparableConv2D(Conv2D): | |
"""Depthwise separable 2D convolution. | |
Separable convolutions consist in first performing | |
a depthwise spatial convolution | |
(which acts on each input channel separately) | |
followed by a pointwise convolution which mixes together the resulting | |
output channels. The `depth_multiplier` argument controls how many | |
output channels are generated per input channel in the depthwise step. | |
Intuitively, separable convolutions can be understood as | |
a way to factorize a convolution kernel into two smaller kernels, | |
or as an extreme version of an Inception block. |
--
You received this message because you are subscribed to a topic in the Google Groups "Keras-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/keras-users/sec8pYjJwwE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to keras-users+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/keras-users/52bc5294-ef65-4adb-8488-b5dba949d860%40googlegroups.com.
Thanks for the reply. I think you're right. It'd be cool if SeparableConv2D had some boolean parameters for including a relu and BN in the middle.
--
You received this message because you are subscribed to the Google Groups "Keras-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keras-users+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/keras-users/CALSvU-55WMxSQw_wOa2RyjTif9f4YHDZQY_1kG5vG2MAGJx89Q%40mail.gmail.com.
To unsubscribe from this group and all its topics, send an email to keras-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/keras-users/52bc5294-ef65-4adb-8488-b5dba949d860%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Keras-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keras-users...@googlegroups.com.