title: Is torchvision.datasets.cifar.CIFAR10 a list or not?
body: <p>When I try to figure out what is inside torchvision.datasets.cifar.CIFAR10, I did some simple code</p>
  
  <pre><code>trainset = torchvision.datasets.CIFAR10(root='./data', train=True,
                                      download=True, transform=transform)
  print(trainset[1])
  print(trainset[:10])
  print(type(trainset))
  </code></pre>
  
  <p>However, I got some error when I try </p>
  
  <pre><code>print(trainset[:10])
  </code></pre>
  
  <p>The error info is </p>
  
  <pre><code>TypeError: Cannot handle this data type
  </code></pre>
  
  <p>I am wondering why I can use <code>trainset[1]</code>, but not <code>trainset[:10]</code>?</p>