Categorical Cross-Entropy Loss Computation - Coding problem | OneNoughtOne