code: def test_get_train_valid_sets_given_valid_data(self):
      x = range(1, 101)
      y = range(1, 101)
      x_val = range(101, 121)
      y_val = range(101, 121)
  
      x = torch.Tensor(x)
      y = torch.Tensor(y)
      x_val = torch.Tensor(x_val)
      y_val = torch.Tensor(y_val)
  
      valid_split = 0.1
      shuffle = False
  
      trainset, valset = get_train_valid_sets(
          x, y, (x_val, y_val), valid_split, shuffle
      )
      self.assertTrue(len(valset) == len(x_val))
  
file_path: torchbearer/tests/test_cv_utils.py
imports: import unittest
  from mock import Mock
  import torchbearer
  from torchbearer.cv_utils import *
label_desc: Use image node_id 10 for calling the TestCVUtils obj's underlying member method code with example usage: obj.test_get_train_valid_sets_given_valid_data() without return types