train = data_utils.TensorDataset(torch.LongTensor(dataX),torch.LongTensor(dataY))
train_loader = data_utils.DataLoader(train,batch_size=512,drop_last=True)
print(train)

Output:

<torch.utils.data.dataset.TensorDataset at 0x131880550>

train.data_tensor is LongTensor of size : (163717x100) which I feed into a DataLoader to get batches of size 512.