Hi team,
I’ve passed the assignment, and want to summaries for my own notes, and tried again offline, and get error as follows.
I’ve tried running the functions separately, and found the issue arise from the training step. It says no gradients provided for any variable. However, I checked several times, and am sure the code is the same as the assignment. No sure if it has anything to do with the @tf.function() decorator, not quite sure how to use this.
Please find screenshots of my notes and error.