class_docstr: SSD model is like a Tree, except with additional handling for the output layer, and
  for the prior boxes
class_docstr_tok: ["SSD","model","is","like","a","Tree",",","except","with","additional","handling","for","the","output","layer",",","and","for","the","prior","boxes"]
code: def ingest_config(self, configd):
      # pull in the configuration dict and set the the appropriate instance attributes
  
      # first some type checking
      for ky in configd:
          # put in default values if not set externally
          configd[ky].setdefault("variance", (0.1, 0.1, 0.2, 0.2))
          configd[ky].setdefault("flip", True)
          configd[ky].setdefault("offset", 0.5)
          configd[ky].setdefault("normalize", False)
          configd[ky].setdefault("clip", False)
  
          # make sure required calues are set
          for cky in (
              "min_sizes",
              "max_sizes",
              "aspect_ratios",
              "step",
          ):
              assert cky in configd[ky], "%s must be set manually" % cky
  
          # convert any not tuples for these fields to tuples
          for ff in ("min_sizes", "max_sizes", "aspect_ratios"):
              val = configd[ky][ff]
              if type(val) not in (list, tuple):
                  configd[ky][ff] = (configd[ky][ff],)
              else:
                  configd[ky][ff] = tuple(configd[ky][ff])
      return configd
  
imports: from neon.initializers import Constant, Xavier
  from neon.transforms import Rectlin
  from neon.layers import Conv, Pooling, BranchNode
  from layer import Normalize, PriorBox, DetectionOutput, ConcatTranspose
  import numpy
  from neon.util.persist import load_obj
  from neon.layers.container import Tree
  from neon.layers.layer import Layer
  from collections import OrderedDict
  import inspect
  import re
  from neon.data.datasets import Dataset
  import os
label_desc: Use image node_id 3 for calling the SSD obj's underlying member method code with example usage: obj.ingest_config(configd) and returns: configd