class_docstr: A collection of variables used by subclasses of `MixtureAgent`.
  
  Note that this variable collection only contains the mixture weights. The
  variables of the sub-agents that the mixture agent mixes are in variable
  collections of the respective sub-agents.
docstr: Initializes an instace of 'Exp3MixtureVariableCollection'.
  
  Args:
    num_agents: (int) the number of agents mixed by the mixture agent.
    reward_aggregates: A list of floats containing the reward aggregates for
      each agent. If not set, the initial values will be 0.
    inverse_temperature: The initial value for the inverse temperature
      variable used by the mixture agent.
docstr_tok: ["Initializes","an","instace","of","'Exp3MixtureVariableCollection","'",".","Args",":","num_agents",":","(","int",")","the","number","of","agents","mixed","by","the","mixture","agent",".","reward_aggregates",":","A","list","of","floats","containing","the","reward","aggregates","for","each","agent",".","If","not","set",",","the","initial","values","will","be","0.","inverse_temperature",":","The","initial","value","for","the","inverse","temperature","variable","used","by","the","mixture","agent","."]
code: def __init__(
      self,
      num_agents: int,
      reward_aggregates: Optional[List[float]] = None,
      inverse_temperature: float = 0.0,
  ):
      """Initializes an instace of 'Exp3MixtureVariableCollection'.
  
      Args:
        num_agents: (int) the number of agents mixed by the mixture agent.
        reward_aggregates: A list of floats containing the reward aggregates for
          each agent. If not set, the initial values will be 0.
        inverse_temperature: The initial value for the inverse temperature
          variable used by the mixture agent.
      """
      if reward_aggregates is None:
          reward_aggregates = [0.0] * num_agents
      else:
          if num_agents != len(reward_aggregates):
              raise ValueError(
                  "`reward_aggregates` must have `num_agents` elements."
              )
      self._reward_aggregates = tf.Variable(
          reward_aggregates, name="reward_aggregates", dtype=tf.float32
      )
      self._inverse_temperature = tf.Variable(
          inverse_temperature, dtype=tf.float32
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import List, Optional, Text
  import gin
  import tensorflow
  import tensorflow_probability
  from tf_agents.agents import tf_agent
  from tf_agents.bandits.agents import mixture_agent
  from tf_agents.bandits.policies import mixture_policy
  from tf_agents.utils import nest_utils
label_desc: Use image node_id 1 to create a new Exp3MixtureVariableCollection object from inherited base classes: tf with example: obj = Exp3MixtureVariableCollection(num_agents, reward_aggregates, inverse_temperature)