class_docstr: Single Shot MultiBox Detector, see https://arxiv.org/abs/1512.02325
  
  Args:
      backbone (nn.Layer): backbone instance
      ssd_head (nn.Layer): `SSDHead` instance
      post_process (object): `BBoxPostProcess` instance
class_docstr_tok: ["Single","Shot","MultiBox","Detector",",","see","https",":","\/\/arxiv.org\/abs\/1512.02325","Args",":","backbone","(","nn.Layer",")",":","backbone","instance","ssd_head","(","nn.Layer",")",":","`","SSDHead","`","instance","post_process","(","object",")",":","`","BBoxPostProcess","`","instance"]
code: def from_config(cls, cfg, *args, **kwargs):
      # backbone
      backbone = create(cfg["backbone"])
  
      # head
      kwargs = {"input_shape": backbone.out_shape}
      ssd_head = create(cfg["ssd_head"], **kwargs)
  
      return {
          "backbone": backbone,
          "ssd_head": ssd_head,
      }
  
file_path: PaddleDetection/ppdet/modeling/architectures/ssd.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from ppdet.core.workspace import register, create
  from .meta_arch import BaseArch
  import paddle
  import paddle.nn.functional
label_desc: Use image node_id 2 for calling the SSD obj's underlying member method code with example usage: obj.from_config(cls, cfg) and returns: dict