确保对输入的 tensors 调用 input = input.to(device) 方法。 device = torch.device("cuda") model = TheModelClass ...
確定! 回上一頁