Compute_Loss

You have to transpose logits and labels. Check this.