Skip to Content
Hands-On Mathematics for Deep Learning
book

Hands-On Mathematics for Deep Learning

by Jay Dawani
June 2020
Intermediate to advanced
364 pages
13h 56m
English
Packt Publishing
Content preview from Hands-On Mathematics for Deep Learning

Separable convolutions

Separable convolutions are a rather interesting type of convolution. They work on two-dimensional inputs and can be applied spatially or depthwise. The way this works is we decompose our k × k sized kernel into two smaller kernels with sizes of k × 1 and 1 × k. Instead of applying the k × k kernel, we would first apply the k × 1 kernel and then, to its output, the 1 × k kernel. The reason this is used is that it reduces the number of parameters in our network. With the original kernel, we would have had to carry out k2 multiplications at each step, but with separable convolution, we only have to carry out 2,000 multiplications, which is a lot less.

Suppose we have a 3 × 3 kernel that we want to apply to a 6 × 6 input, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Math for Deep Learning

Math for Deep Learning

Ronald T. Kneusel
Deep Learning with PyTorch

Deep Learning with PyTorch

Eli Stevens, Thomas Viehmann, Luca Pietro Giovanni Antiga

Publisher Resources

ISBN: 9781838647292