class_docstr: Highway Network module.
  
  This is a module of Highway Network introduced in `Highway Networks`_.
  
  .. _`Highway Networks`: https://arxiv.org/abs/1505.00387
class_docstr_tok: ["Highway","Network","module",".","This","is","a","module","of","Highway","Network","introduced","in","`","Highway","Networks","`","_",".","..","_","`","Highway","Networks","`",":","https",":","\/\/arxiv.org\/abs\/1505.00387"]
docstr: Initialize Highway Network module.
  
  Args:
      idim (int): Dimension of the inputs.
docstr_tok: ["Initialize","Highway","Network","module",".","Args",":","idim","(","int",")",":","Dimension","of","the","inputs","."]
code: def __init__(self, idim):
      """Initialize Highway Network module.
  
      Args:
          idim (int): Dimension of the inputs.
  
      """
      super(HighwayNet, self).__init__()
      self.idim = idim
      self.projection = torch.nn.Sequential(
          torch.nn.Linear(idim, idim), torch.nn.ReLU()
      )
      self.gate = torch.nn.Sequential(
          torch.nn.Linear(idim, idim), torch.nn.Sigmoid()
      )
  
file_path: espnet/espnet/nets/pytorch_backend/tacotron2/cbhg.py
imports: import torch
  import torch.nn.functional
  from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence
  from espnet.nets.pytorch_backend.nets_utils import make_non_pad_mask
label_desc: Use image node_id 1 to create a new HighwayNet object from inherited base classes: torch.nn with example: obj = HighwayNet(idim)