Error in C1W1_Your_First_GAN

I am getting an “NameError: name ‘nn’ is not defined” when Irun the test_gen_block.

I don’t know what is wrong

Where is nn defined? Have you executed that cell? Just having the code sitting there does nothing unless you run it.

Thanks for the reply. There was an indentation problem. Now fixed

Roger