class_docstr: Bidirection version GCN layer from paper `GCN <https://arxiv.org/abs/1609.02907>`__.
  
  .. math::
      h_{i, \vdash}^{(l+1)} = \sigma(b^{(l)}_{\vdash} + \sum_{j\in\mathcal{N}_{\vdash}(i)}
      \frac{1}{c_{ij}}h_{j, \vdash}^{(l)}W^{(l)}_{\vdash})
  
      h_{i, \dashv}^{(l+1)} = \sigma(b^{(l)}_{\dashv} + \sum_{j\in\mathcal{N}_{\dashv}(i)}
      \frac{1}{c_{ij}}h_{j, \dashv}^{(l)}W^{(l)}_{\dashv})
class_docstr_tok: ["Bidirection","version","GCN","layer","from","paper","`","GCN","<","https",":","\/\/arxiv.org\/abs\/1609.02907",">","`","__",".","..","math",":",":","h_","{","i",",","\\vdash","}","^","{","(","l+1",")","}","=","\\sigma","(","b^","{","(","l",")","}","_","{","\\vdash","}","+","\\sum_","{","j\\in\\mathcal","{","N","}","_","{","\\vdash","}","(","i",")","}","\\frac","{","1","}","{","c_","{","ij","}","}","h_","{","j",",","\\vdash","}","^","{","(","l",")","}","W^","{","(","l",")","}","_","{","\\vdash","}",")","h_","{","i",",","\\dashv","}","^","{","(","l+1",")","}","=","\\sigma","(","b^","{","(","l",")","}","_","{","\\dashv","}","+","\\sum_","{","j\\in\\mathcal","{","N","}","_","{","\\dashv","}","(","i",")","}","\\frac","{","1","}","{","c_","{","ij","}","}","h_","{","j",",","\\dashv","}","^","{","(","l",")","}","W^","{","(","l",")","}","_","{","\\dashv","}",")"]
docstr: Reinitialize learnable parameters.
docstr_tok: ["Reinitialize","learnable","parameters","."]
code: def reset_parameters(self):
      r"""
      Reinitialize learnable parameters.
      """
      if self.weight_fw is not None:
          init.xavier_uniform_(self.weight_fw)
          init.xavier_uniform_(self.weight_bw)
      if self.bias_fw is not None:
          init.zeros_(self.bias_fw)
          init.zeros_(self.bias_bw)
  
      if isinstance(self.res_fc_fw, nn.Linear):
          nn.init.xavier_normal_(self.res_fc_fw.weight)
  
      if isinstance(self.res_fc_bw, nn.Linear):
          nn.init.xavier_normal_(self.res_fc_bw.weight)
  
imports: import dgl.function
  import torch
  import torch.nn
  from torch.nn import init
  from .base import GNNBase, GNNLayerBase
label_desc: Use image node_id 2 for calling the BiSepGCNLayerConv obj's underlying member method code with example usage: obj.reset_parameters() without return types