class_docstr: A network that takes global and arm observations and outputs rewards.
  
  This network takes the output of the global and per-arm networks, and leads
  them through a common network, that in turn outputs reward estimates.
class_docstr_tok: ["A","network","that","takes","global","and","arm","observations","and","outputs","rewards",".","This","network","takes","the","output","of","the","global","and","per-arm","networks",",","and","leads","them","through","a","common","network",",","that","in","turn","outputs","reward","estimates","."]
docstr: Initializes an instance of `GlobalAndArmCommonTowerNetwork`.
  
  The network architecture contains networks for both the global and the arm
  features. The outputs of these networks are concatenated and led through a
  third (common) network which in turn outputs reward estimates.
  
  Args:
    observation_spec: The observation spec for the policy that uses this
      network.
    global_network: The network that takes the global features as input.
    arm_network: The network that takes the arm features as input.
    common_network: The network that takes as input the concatenation of the
      outputs of the global and the arm networks.
    name: The name of this instance of `GlobalAndArmCommonTowerNetwork`.
docstr_tok: ["Initializes","an","instance","of","`","GlobalAndArmCommonTowerNetwork","`",".","The","network","architecture","contains","networks","for","both","the","global","and","the","arm","features",".","The","outputs","of","these","networks","are","concatenated","and","led","through","a","third","(","common",")","network","which","in","turn","outputs","reward","estimates",".","Args",":","observation_spec",":","The","observation","spec","for","the","policy","that","uses","this","network",".","global_network",":","The","network","that","takes","the","global","features","as","input",".","arm_network",":","The","network","that","takes","the","arm","features","as","input",".","common_network",":","The","network","that","takes","as","input","the","concatenation","of","the","outputs","of","the","global","and","the","arm","networks",".","name",":","The","name","of","this","instance","of","`","GlobalAndArmCommonTowerNetwork","`","."]
code: def __init__(
      self,
      observation_spec: types.NestedTensorSpec,
      global_network: types.Network,
      arm_network: types.Network,
      common_network: types.Network,
      name="GlobalAndArmCommonTowerNetwork",
  ) -> types.Network:
      """Initializes an instance of `GlobalAndArmCommonTowerNetwork`.
  
      The network architecture contains networks for both the global and the arm
      features. The outputs of these networks are concatenated and led through a
      third (common) network which in turn outputs reward estimates.
  
      Args:
        observation_spec: The observation spec for the policy that uses this
          network.
        global_network: The network that takes the global features as input.
        arm_network: The network that takes the arm features as input.
        common_network: The network that takes as input the concatenation of the
          outputs of the global and the arm networks.
        name: The name of this instance of `GlobalAndArmCommonTowerNetwork`.
      """
      super(GlobalAndArmCommonTowerNetwork, self).__init__(
          input_tensor_spec=observation_spec, state_spec=(), name=name
      )
      self._global_network = global_network
      self._arm_network = arm_network
      self._common_network = common_network
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import Callable, Optional, Sequence, Text
  import gin
  import numpy
  import tensorflow
  from tf_agents.bandits.specs import utils
  from tf_agents.networks import encoding_network
  from tf_agents.networks import network
  from tf_agents.networks import q_network
  from tf_agents.specs import tensor_spec
  from tf_agents.typing import types
label_desc: Use image node_id 1 to create a new GlobalAndArmCommonTowerNetwork object from inherited base classes: network with example: obj = GlobalAndArmCommonTowerNetwork(observation_spec, global_network, arm_network, common_network, name)