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 unnest(self, x):
      outputs = dict()
      for name in ("mbox_loc", "mbox_conf"):
          output = []
          for layer in self.output_config:
              index = self.output_config[layer]["index"][name]
              if len(index) > 1:
                  output.append(x[index[0]][index[1]])
              else:
                  output.append(x[index[0]])
          outputs[name] = output
  
      return outputs
  
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 5 for calling the SSD obj's underlying member method code with example usage: obj.unnest(x) and returns: outputs