Mastering Multiclass Logistic Regression In Pytorch: A Step-By-Step Guide