class_docstr: CrossModel for DRL.
class_docstr_tok: ["CrossModel","for","DRL","."]
code: def __init__(self, config):
      super().__init__()
      self.config = config
  
      self.embeddings = CrossEmbeddings(config)
  
      transformer_width = config.hidden_size
      transformer_layers = config.num_hidden_layers
      transformer_heads = config.num_attention_heads
      self.transformer = Transformer(
          width=transformer_width,
          layers=transformer_layers,
          heads=transformer_heads,
      )
      self.pooler = CrossPooler(config)
      self.apply(self.init_weights)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import logging
  import torch
  from torch import nn
  from towhee.models.drl.until_module import LayerNorm
  from collections import OrderedDict
label_desc: Use image node_id 2 to create a new CrossModel object from inherited base classes: nn with example: obj = CrossModel(config)