Question

A 10x10 image is the input to a convolutional neural network (CNN). The first hidden layer...

A 10x10 image is the input to a convolutional neural network (CNN). The first hidden layer of the CNN is comprised of 4 3x3 filters. Assuming zero-padding and bias, what is the dimensionality of the output from the first hidden layer and the number of parameters that are estimated from this layer?

A 10x10 image is the input to a convolutional neural network (CNN). The first hidden layer of the CNN is comprised of 4 3x3 filters. Assuming bias but not zero-padding, what is the dimensionality of the output from the first hidden layer and the number of parameters that are estimated from this layer?

Homework Answers

Answer #1

Formula =

Output = ([Input + 2 * padding - kernal_size]/stride)+1

Parameter = ((width of the filter * height of the filter * number of channels_in_prev_layers+1)*number of filters)

NOTE-: 1 is added for the bias

Ans 1)

([10+2*0-3]/1)+1     [By default stride is 1]

7+1 = 8

Output Shape = (8, 8, 4) where 4 is the number of filters

Parameters = (3*3*1+1)*4

                   = 40

Ans 2)

([10+2*p-3]/1)+1     [By default stride is 1]

(7+2p)/1+1 = 8+2p

Output Shape = (8+2p, 8+2p, 4) where 4 is the number of filters

Parameters = (3*3*1+1)*4

                   = 40

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Consider a fully connected neural network model taking 4 input data attributes with one hidden layer...
Consider a fully connected neural network model taking 4 input data attributes with one hidden layer of 16 neurons and 1 neuron in the output layer. How many parameters are needed to specify the model? Explain in depth
**please write code with function definition taking in input and use given variable names** for e.g....
**please write code with function definition taking in input and use given variable names** for e.g. List matchNames(List inputNames, List secRecords) Java or Python Please Note:    * The function is expected to return a STRING_ARRAY.      * The function accepts following parameters:      *  1. STRING_ARRAY inputNames      *  2. STRING_ARRAY secRecords      */ Problem Statement Introduction Imagine you are helping the Security Exchange Commission (SEC) respond to anonymous tips. One of the biggest problems the team faces is handling the transcription of the companies reported...
For a C program hangman game: Create the function int setup_game [int setup_game ( Game *g,...
For a C program hangman game: Create the function int setup_game [int setup_game ( Game *g, char wordlist[][MAX_WORD_LENGTH], int numwords)] for a C program hangman game. (The existing code for other functions and the program is below, along with what the function needs to do) What int setup_game needs to do setup_game() does exactly what the name suggests. It sets up a new game of hangman. This means that it picks a random word from the supplied wordlist array and...
Please show me how to apply CVP analysis for this case study. FLY ASH BRICK PROJECT:...
Please show me how to apply CVP analysis for this case study. FLY ASH BRICK PROJECT: FEASIBILITY STUDY USING CVP ANALYSIS S. K. Mitra and Shubhra Hajela wrote this case solely to provide material for class discussion. The authors do not intend to illustrate either effective or ineffective handling of a managerial situation. The authors may have disguised certain names and other identifying information to protect confidentiality. This publication may not be transmitted, photocopied, digitized or otherwise reproduced in any...
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation....
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation. case:    W17400 APIGEE: PEOPLE MANAGEMENT PRACTICES AND THE CHALLENGE OF GROWTH Ranjeet Nambudiri, S. Ramnarayan, and Catherine Xavier wrote this case solely to provide material for class discussion. The authors do not intend to illustrate either effective or ineffective handling of a managerial situation. The authors may have disguised certain names and other identifying information to protect confidentiality. This publication may not be...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...