class_docstr: Implementation of a parallel bottleneck adapter block.
code: def __init__(
      self, adapter_name, input_size, down_sample, config: BnConfig
  ):
      super().__init__(adapter_name, input_size, down_sample, config)
  
imports: import math
  import torch
  from torch import nn
  from transformers.activations import get_activation
  from ..configuration import AdapterFusionConfig, BnConfig
  from ..context import ForwardContext
label_desc: Use image node_id 1 to create a new ParallelAdapter object from inherited base classes: Adapter with example: obj = ParallelAdapter(adapter_name, input_size, down_sample, config)