code: def test_skip_sampler():
      skip = 2
      sampler = torch.utils.data.SequentialSampler(range(15))
      skip_sampler = samplers.SkipSampler(sampler, skip)
  
      assert len(skip_sampler) == 15
  
      for samp, skip_samp in zip(range(skip, 15), iter(skip_sampler)):
          assert samp == skip_samp
  
imports: import logging
  import queue
  import typing
  from logging import handlers
  import numpy
  import pytest
  import torch
  import determined
  from determined.pytorch import data_length, samplers, to_device
label_desc: Use image node_id 3 for calling a global function with example usage: test_skip_sampler() without return types