Error from reference should be less than 0.05
Your error from reference: 0.05817829
Also I don’t think I used the last two lines for this part:
grade function codes removed and continuing to post codes can cause warning from community Team, please share codes only by personal DM if a mentor wants to look at your codes
Please remove the code snippet if that is not allowed.
I will dm the full codes if needed.
Sometimes I feel like this specialisation should replace Tensorflow with PyTorch or Jax.