I have clear the exam but I am practicing locally on my laptop but I encounter this attribute error and i couldn’t find the solution is this attribute depreciated from the TF if yes so what is the new way to solve this problem?
thank you
To replicate the assignment in your local environment, you have to use the same versions of all the libraries as used in the Coursera environment. There is no official guide for this but you may find this post helpful.
Thank you Saif for the reply, I already import the glorot_uniform but still it gives me the same error
AttributeError Traceback (most recent call last)
Cell In[23], line 3
1 ### you cannot edit this cell
----> 3 tf.keras.backend.set_learning_phase()
5 np.random.seed(1)
6 tf.random.set_seed(2)
AttributeError: module ‘keras._tf_keras.keras.backend’ has no attribute ‘set_learning_phase’
if it is depreciated what is the new way to perform such tasks as I already clear the training but I want to know how it done without setting Learning phase
Thanks
I didn’t try it. You may play with it and share your learning with us.
sure, I will