There was a problem compiling the code from your notebook. Details: cannot import name 'activation' from 'keras.layers.serialization'

I am getting this error from the grader. The notebook ran with no problem and I pass the history assignment with 50/50.

Please click my name and message your notebook as an attachment.

At this point, the grader uses tensorflow 2.7.0 to score your submission. The following import statement is invalid in 2.7.0:
from keras.layers.serialization import activation

Please remove the import from your notebook.