code: def transformer_base():
      """Configuration of Transformer WMT EN-DE Base"""
      cfg = CN()
      cfg.MODEL = CN()
      cfg.MODEL.src_vocab_size = -1
      cfg.MODEL.tgt_vocab_size = -1
      cfg.MODEL.max_src_length = -1
      cfg.MODEL.max_tgt_length = -1
      cfg.MODEL.scale_embed = True
      cfg.MODEL.pos_embed_type = "sinusoidal"
      cfg.MODEL.shared_embed = True
      cfg.MODEL.tie_weights = True
      cfg.MODEL.attention_dropout = 0.0
      cfg.MODEL.activation_dropout = 0.0
      cfg.MODEL.dropout = 0.1
      cfg.MODEL.layout = "NT"
      cfg.MODEL.dtype = "float32"
  
      # Parameters for the encoder
      cfg.MODEL.ENCODER = CN()
      cfg.MODEL.ENCODER.num_layers = 6
      cfg.MODEL.ENCODER.units = 512
      cfg.MODEL.ENCODER.num_heads = 8
      cfg.MODEL.ENCODER.hidden_size = 2048
      cfg.MODEL.ENCODER.recurrent = False
      cfg.MODEL.ENCODER.activation = "relu"
      cfg.MODEL.ENCODER.pre_norm = False
      cfg.MODEL.ENCODER.use_qkv_bias = True
  
      # Parameters for the decoder
      cfg.MODEL.DECODER = CN()
      cfg.MODEL.DECODER.num_layers = 6
      cfg.MODEL.DECODER.units = 512
      cfg.MODEL.DECODER.num_heads = 8
      cfg.MODEL.DECODER.hidden_size = 2048
      cfg.MODEL.DECODER.recurrent = False
      cfg.MODEL.DECODER.activation = "relu"
      cfg.MODEL.DECODER.pre_norm = False
      cfg.MODEL.DECODER.use_qkv_bias = False
  
      # Parameters for the initializer
      cfg.INITIALIZER = CN()
      cfg.INITIALIZER.embed = ["xavier", "gaussian", "in", 1.0]
      cfg.INITIALIZER.weight = ["xavier", "uniform", "avg", 3.0]
      cfg.INITIALIZER.bias = ["zeros"]
      cfg.VERSION = 1
      cfg.freeze()
      return cfg
  
imports: import numpy
  import mxnet
  from mxnet import np, npx
  from mxnet import use_np
  from mxnet.gluon import nn, HybridBlock
  from typing import Optional, Tuple, List
  from ..utils.registry import Registry
  from ..attention_cell import MultiHeadAttentionCell, gen_self_attn_mask, gen_mem_attn_mask
  from ..layers import PositionalEmbedding, PositionwiseFFN, InitializerType
  from ..utils.config import CfgNode
  from ..sequence_sampler import BaseStepDecoder
label_desc: Use image node_id 1 for calling a global function with example usage: transformer_base() and returns: cfg