ChatGPT - Focal Loss PyTorch Implementation.