code: def _make_network(action_spec: specs.DiscreteArray) -> snt.RNNCore:
      return snt.DeepRNN(
          [
              snt.Flatten(),
              snt.LSTM(20),
              snt.nets.MLP([50, 50]),
              networks.PolicyValueHead(action_spec.num_values),
          ]
      )
  
file_path: acme/acme/agents/tf/impala/agent_test.py
imports: import acme
  from acme import specs
  from acme.agents.tf import impala
  from acme.testing import fakes
  from acme.tf import networks
  import numpy
  import sonnet
  from absl.testing import absltest
label_desc: Use image node_id 1 for calling a global function with example usage: _make_network(action_spec) and returns: snt