'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(self._scales) * len(self._aspect_ratios))]
