code: def make_distrib_recurrent_q_func(env):
      n_atoms = 51
      v_max = 10
      v_min = -10
      return chainerrl.links.StatelessRecurrentSequential(
          L.NStepLSTM(1, env.observation_space.low.size, 20, 0),
          chainerrl.q_functions.DistributionalFCStateQFunctionWithDiscreteAction(  # NOQA
              20,
              env.action_space.n,
              n_atoms=n_atoms,
              v_min=v_min,
              v_max=v_max,
              n_hidden_channels=None,
              n_hidden_layers=0,
          ),
      )
  
file_path: chainerrl/tests/agents_tests/test_double_categorical_dqn.py
imports: import chainer.links
  import basetest_dqn_like
  from basetest_training import _TestBatchTrainingMixin
  import chainerrl
  from chainerrl.agents import CategoricalDoubleDQN
label_desc: Use image node_id 2 for calling a global function with example usage: make_distrib_recurrent_q_func(env) and returns: chainerrl