class_docstr: A recurrent network for use with R2D2.
  
  See https://openreview.net/forum?id=r1lyTjAqYX for more information.
class_docstr_tok: ["A","recurrent","network","for","use","with","R2D2",".","See","https",":","\/\/openreview.net\/forum","?","id=r1lyTjAqYX","for","more","information","."]
code: def __init__(
      self, num_actions: int, core: Optional[base.RNNCore] = None
  ):
      super().__init__(name="r2d2_atari_network")
      self._embed = embedding.OAREmbedding(
          torso=AtariTorso(), num_actions=num_actions
      )
      self._core = core if core is not None else recurrence.LSTM(512)
      self._head = duelling.DuellingMLP(num_actions, hidden_sizes=[512])
  
imports: from typing import Optional, Tuple
  from acme.tf.networks import base
  from acme.tf.networks import duelling
  from acme.tf.networks import embedding
  from acme.tf.networks import policy_value
  from acme.tf.networks import recurrence
  from acme.tf.networks import vision
  from acme.wrappers import observation_action_reward
  import sonnet
  import tensorflow
label_desc: Use image node_id 1 to create a new R2D2AtariNetwork object from inherited base classes: base with example: obj = R2D2AtariNetwork(num_actions, core)