'Returns the number of anchors per spatial location.
Returns:
a list of integers, one for each expected feature map to be passed to
the Generate function.'

def num_anchors_per_location(self):

    return [len(box_specs) for box_specs in self._box_specs]
