code: def _random_policy(action_space):
      return lambda _: (action_space.sample(), None)
  
imports: import collections
  import os
  import gin
  import gym
  import numpy
  from trax import fastmath
  from trax.rl import advantages
  from trax.supervised import training
label_desc: Use image node_id 3 for calling a global function with example usage: _random_policy(action_space) and returns: function