Exam4Training

How many trainable weights does your model have?

You are going to train a DNN regression model with Keras APIs using this code:

How many trainable weights does your model have? (The arithmetic below is correct.)
A . 501*256+257*128+2 = 161154
B . 500*256+256*128+128*2 = 161024
C . 501*256+257*128+128*2=161408
D . 500*256*0 25+256*128*0 25+128*2 = 40448

Answer: C

Exit mobile version