class_docstr: Description
  -----------
  Dense layer with a linear layer and an activation function
class_docstr_tok: ["Description","--","--","--","--","--","-","Dense","layer","with","a","linear","layer","and","an","activation","function"]
code: def reset_parameters(self):
      torch.nn.init.xavier_uniform_(self.lin.weight)
      if self.lin.bias is not None:
          torch.nn.init.zeros_(self.lin.bias)
      if self.act_type == "prelu":
          self.act = torch.nn.PReLU()
      else:
          self.act = torch.relu
  
imports: from typing import Optional
  import dgl
  import torch
  import torch.nn
  from dgl import DGLGraph
  from dgl.nn import GraphConv
  from torch import Tensor
label_desc: Use image node_id 2 for calling the DenseLayer obj's underlying member method code with example usage: obj.reset_parameters() without return types