code: def rng_from_seed(seed):
      return np.random.RandomState(seed)
  
imports: from __future__ import print_function
  from __future__ import division
  from builtins import range
  from past.utils import old_div
  import sys
  import numpy
  from .base import scope, as_apply, dfs, rec_eval, clone
label_desc: Use image node_id 3 for calling a global function with example usage: rng_from_seed(seed) and returns: np