AMD Developer Hackathon: ACT III team: Loss Function