Hi team, I’ve successfully unit tested the assignment, got all the right outputs etc. However, when I submit to Coursera, the grader is failing me with an error about passing a numpy error to TF.
I’ve then gone back to the notebook and included a compile directive to catch any errors, but the compile was successfully on my notebook. I am a bit stuck here, can someone take a look please?
Thanks Sam. The following is the exact error message.
Cell #UNQ_C1. Can’t compile the student’s code. Error: NotImplementedError(‘Exception encountered when calling layer “dense” (type Dense).\n\nCannot convert a symbolic Tensor (dense/Neg:0) to a numpy array. This error may indicate that you're trying to pass a Tensor to a NumPy call, which is not supported\n\nCall arguments received:\n • inputs=tf.Tensor(shape=(None, 400), dtype=float32)’)