C1W4A, # UNQ_C3 : I don't see how to get to 21

I am having problems understanding what to do for get_input_dimensions.

For all the things I tried that I thought might be what was intended, the test gave me

----> 4 assert disc_dim == 21

The only way I can make the test pass is to do discriminator_im_chan = z_dim - 2, but that can’t be what was intended, can it? :face_with_monocle: I only did the minus two because I knew from looking at the test that I was supposed to get 21, but I can’t think of a logical reason why I would have done so without looking at the test.

On the other hand, I don’t see how to get to 21 from the input values get_input_dimensions(23, (12, 23, 52), 9). I could use a hint.

Oh wait, I see what’s going on now and what I am supposed to add.

1 Like