human
2. Dummy DataSet
Make a dummy (random) dataset. You just need to implement the getitem"
Please write code following the instructions in jupyter notebook style.

=====
Write me a code to 2?
assistant
#Here is code to 2.

class RandomDataset(Dataset):
    
    def __init__(self, size, length):
        self.len = length
        self.data = torch.randn(length, size)
        
    def __getitem__(self, index):
        return self.data[index]
    
    def __len__(self):
        return self.len
    
rand_loader = DataLoader(dataset=RandomDataset(input_size, 100), 
                         batch_size=batch_size, shuffle=True)