code: def __init__(self, config: DictConfig):
      super().__init__()
      assert config.share_embedding_strategy in [
          "add",
          "fraction",
      ], (
          f"`share_embedding_strategy` should be one of `add` or `fraction`,"
          f" not {self.hparams.share_embedding_strategy}"
      )
      self.hparams = config
      self._build_network()
  
imports: from collections import OrderedDict
  from typing import Dict
  import torch
  import torch.nn
  from einops import rearrange
  from omegaconf import DictConfig
  from pytorch_tabular.models.common.layers.batch_norm import BatchNorm1d
  from ..base_model import BaseModel
  from ..common.layers import Embedding2dLayer, TransformerEncoderBlock
label_desc: Use image node_id 1 to create a new TabTransformerBackbone object from inherited base classes: nn with example: obj = TabTransformerBackbone(config)