不過在PyTorch 裡cross-entropy 因為input 是output layer 的值而 ... += pred.eq(target.view_as(pred)).sum().item() # how many predictions in ...
確定! 回上一頁