code: def random_neq(left, right, s):
      t = np.random.randint(left, right)
      while t in s:
          t = np.random.randint(left, right)
      return t
  
file_path: recommenders/recommenders/models/sasrec/sampler.py
imports: import numpy
  from multiprocessing import Process, Queue
label_desc: Use image node_id 1 for calling a global function with example usage: random_neq(left, right, s) and returns: t