class_docstr: Fully-connected layer, part 1.
class_docstr_tok: ["Fully-connected","layer",",","part","1","."]
code: def __init__(self, config):
      super().__init__()
      self.dense = nn.Linear(
          config.hidden_size, config.intermediate_size
      )
      self.intermediate_act_fn = ACT2FN[config.hidden_act]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import logging
  import math
  import torch
  from torch import nn
  from towhee.models.layers.activations import swish, gelu
label_desc: Use image node_id 1 to create a new BertIntermediate object from inherited base classes: nn with example: obj = BertIntermediate(config)