code: def __init__(self, config: Config, embed_dim: int) -> None:
      super().__init__(config)
      self.word_rep = create_module(
          config.word_representation, embed_dim
      )
      self.word_representation_dim = self.word_rep.representation_dim
      self.doc_representation_dim = self.word_rep.representation_dim
      self.pooling_type = config.pooling_type
      log_class_usage(__class__)
  
file_path: pytext/pytext/models/representations/jointcnn_rep.py
imports: from typing import List, Union
  import torch
  from pytext.config.module_config import PoolingType
  from pytext.models.module import create_module
  from pytext.utils.usage import log_class_usage
  from .biseqcnn import BSeqCNNRepresentation
  from .deepcnn import DeepCNNRepresentation, pool
  from .docnn import DocNNRepresentation
  from .representation_base import RepresentationBase
label_desc: Use image node_id 1 to create a new SharedCNNRepresentation object from inherited base classes: RepresentationBase with example: obj = SharedCNNRepresentation(config, embed_dim)