class_docstr: Apply the context gate only to the source context
class_docstr_tok: ["Apply","the","context","gate","only","to","the","source","context"]
code: def __init__(
      self, embeddings_size, decoder_size, attention_size, output_size
  ):
      super(SourceContextGate, self).__init__()
      self.context_gate = ContextGate(
          embeddings_size, decoder_size, attention_size, output_size
      )
      self.tanh = nn.Tanh()
  
file_path: OpenNMT-py/onmt/modules/gate.py
imports: import torch
  import torch.nn
label_desc: Use image node_id 1 to create a new SourceContextGate object from inherited base classes: nn with example: obj = SourceContextGate(embeddings_size, decoder_size, attention_size, output_size)