C1W1_Assignment-NameError: name 'keras' is not defined

refer this, see the image to know what you’re missing in the code you shared.