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 forward(self, x):
      x = self.lin(x)
      return self.act(x)
  
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 3 for calling the DenseLayer obj's underlying member method code with example usage: obj.forward(x) and returns: self