For some reason despite me passing all the test, the grading the gives error
There was a problem compiling the code from your notebook. Details: EagerTensor object has no attribute 'astype'. If you are looking for numpy-related methods, please run the following: from tensorflow.python.ops.numpy_ops import np_config np_config.enable_numpy_behavior()
I have try adding the code but it still doesn’t work. Can anybody help me with this issue?