class_docstr: Samples elements from [0, length) randomly without replacement.
  
  Parameters
  ----------
  length : int
      Length of the sequence.
code: def __init__(self, length):
      self._length = length
  
imports: import numpy
label_desc: Use image node_id 1 to create a new RandomSampler object from inherited base classes: Sampler with example: obj = RandomSampler(length)