Deep Learning Course 2: Wk 3

z = tf.cast(z, tf.float32)
a = tf.keras.activatoins.sigmoid(z)

I got the following error:
AttributeError: module ‘tensorflow.keras’ has no attribute ‘activatoins’

Your help is much appreciated

Hi @Cindy_Ling ,

Please check your spelling. It is activations.sigmoid(z)
not activatoins.sigmoid(z)

Hello Kin,

Thank you so much. :slightly_smiling_face:

I guess I needed a break, since I did the programming assignment right after watching all the videos.