pytorch 入门8:多分类问题. 1 年前· 来自专栏pytorch学习纪要 ... correct += pred.eq(target.data.view_as(pred)).cpu().sum() test_loss /= len(test_loader.dataset)
確定! 回上一頁