code: def from_config(cls, cfg, *args, **kwargs):
      # backbone
      backbone = create(cfg["backbone"])
      trans_encoder = create(cfg["trans_encoder"])
  
      return {"backbone": backbone, "trans_encoder": trans_encoder}
  
file_path: PaddleDetection/ppdet/modeling/architectures/pose3d_metro.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from ppdet.core.workspace import register, create
  from .meta_arch import BaseArch
  from ..None import layers
label_desc: Use image node_id 2 for calling the METRO_Body obj's underlying member method code with example usage: obj.from_config(cls, cfg) and returns: dict