code: def get_cfg(key=None):
      if key is not None:
          return bert_cfg_reg.create(key)
      else:
          return bert_cfg_reg.create("google_en_uncased_bert_base")
  
imports: import logging
  import torch
  from ..attention_cell import gen_self_attn_mask
  from .transformer import TransformerEncoderLayer
  from ..layers import get_activation, sequence_mask
  from ...utils.registry import Registry
  from ...models.bert import bert_cfg_reg
label_desc: Use image node_id 6 for calling the BertModel obj's underlying member method code with example usage: obj.get_cfg(key) and returns: bert_cfg_reg, bert_cfg_reg