text: """
  PyTorch dataset description for a random dummy dataset.
  """
  
  # Compatibility
  from __future__ import print_function
  
  # Externals
  import torch
  from torch.utils.data import TensorDataset
  
  def get_datasets(n_train=1024, n_valid=1024,
                   input_shape=(3, 32, 32), target_shape=()):
      """Construct and return random number datasets"""
      train_x = torch.randn((n_train,) + input_shape)
      valid_x = torch.randn((n_valid,) + input_shape)
      train_y = torch.randn((n_train,) + target_shape)
      valid_y = torch.randn((n_valid,) + target_shape)
      train_dataset = TensorDataset(train_x, train_y)
      valid_dataset = TensorDataset(valid_x, valid_y)
      return train_dataset, valid_dataset
  
  def _test():
      t, v = get_datasets()
      for d in t.tensors + v.tensors:
          print(d.size())
  