TransWikia.com

How to get from input depth to output depth in convnets?

Cross Validated Asked by Randy Welt on February 6, 2021

See this example: convnet quiz Udacity.
How to get from input depth = 3 to output depth = 8? My assumption: In this example we have 8 filter (kernels) and each of them slides over the 3 inputs. So in total we have 24 convolutions. That would give me a depth of 24? So how to reduce to eight?

Update: I found this mapping table by Yann. LeNet5, see page 8 Table1. However the question is, whether this table is still used in the same fashion as in early convnets or today we might use a different mapping sheme? E.g. just sum 3 filtered maps into one of the 8 output maps?

One Answer

After the input layer, depth is simply the number of filters. From the official Stanford course materials:

"The depth of the output volume is a hyperparameter: it corresponds to the number of filters we would like to use."

Source: http://cs231n.github.io/convolutional-networks/

Answered by Ryan Zotti on February 6, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP