Tensorflow not found

I can run the complete notebook manually with correct results but when I submit I get an error as:

Cell #14. Can’t compile the student’s code. Error: ModuleNotFoundError(“No module named ‘tensorflow.math’”,)

Hi @manarshhjot!

Have you used any math function (sum, mean., ) in your code like math.____ or in some other way
If you have used any, please change it to K.____

As keras.backend only allows us to perform math operations on tensors.

If you still have an error, please let us know!

I have used tf.math.multiply for element-wise multiplication. Is there an alternative for that in Keras backend?

Use *, This will work

If successful, let me know!

@manarshhjot, can try to change import approach to “from tensorflow import linalg, math”. Hope this is helpful.