出现如下错误:
解决方法:
import torch
x, y = torch.tensor(inputs.values,
dtype=torch.int64), torch.tensor(outputs.values,
dtype=torch.int64)
x, y
出现如下错误:
解决方法:
import torch
x, y = torch.tensor(inputs.values,
dtype=torch.int64), torch.tensor(outputs.values,
dtype=torch.int64)
x, y