Pytorch NewB
My model requires an input and an integer.
what is the correct way to set this up?
idea 1: tuple
tensor_x = torch.stack ([(torch.Tensor(image1),integer1), (torch.Tensor(image2), integer2)  etc ]
tensor_y  = torch.stack ([label1, label2, etc])
dataset= utils.TensorDataset(tensor_x, tensor_y)
idea 2: two tensors?
tensor_x1 = torch.stack ([torch.Tensor(image1) torch.Tensor(image2),  etc. ]
tensor_x2 = torch.stack ([integer1,  integer2, etc ]
tensor_y  = torch.stack ([label1, label2, etc])
dataset= utils.TensorDataset(tensor_x1, tensor_x2, tensor_y)
any illustrative  examples?