1. Learn
  2. /
  3. Courses
  4. /
  5. Image Modeling with Keras

Connected

Exercise

Shape of the weights

A Keras neural network stores its layers in a list called model.layers. For the convolutional layers, you can get the weights using the .get_weights() method. This returns a list, and the first item in this list is an array representing the weights of the convolutional kernels. If the shape of this array is (2, 2, 1, 5), what does the first number (2) represent?

Instructions

50 XP

Possible answers