张量的创建和操作创建为初始化矩阵,并初始化a = torch.empty(5, ... torch.empty(3, dtype=torch.long).random_(5) #必须是torch.long类型criterion ...
確定! 回上一頁