code: def __init__(
      self,
      hidden_size1: int,
      hidden_size2: int,
      combined_hidden_size: int,
      dropout1: float,
      dropout2: float,
  ):
      super().__init__()
  
      self.bert_output1 = OutputLayer(
          combined_hidden_size, hidden_size1, dropout1
      )
      self.bert_output2 = OutputLayer(
          combined_hidden_size, hidden_size2, dropout2
      )
  
file_path: allennlp/allennlp/modules/transformer/bimodal_connection_layer.py
imports: from allennlp.common import FromParams
  from allennlp.modules.transformer.activation_layer import ActivationLayer
  from allennlp.modules.transformer.output_layer import OutputLayer
  from allennlp.modules.transformer.bimodal_attention import BiModalAttention
  from allennlp.modules.transformer.transformer_module import TransformerModule
label_desc: Use image node_id 1 to create a new BiModalOutput object from inherited base classes: TransformerModule, FromParams with example: obj = BiModalOutput(hidden_size1, hidden_size2, combined_hidden_size, dropout1, dropout2)