code: def _scale_enum(anchor, scales):
      """
      Enumerate a set of anchors for each scale wrt an anchor.
      """
  
      w, h, x_ctr, y_ctr = _whctrs(anchor)
      ws = w * scales
      hs = h * scales
      anchors = _mkanchors(ws, hs, x_ctr, y_ctr)
      return anchors
  
file_path: insightface/detection/retinaface_anticov/rcnn/processing/generate_anchor.py
imports: from __future__ import print_function
  import sys
  from builtins import range
  import numpy
  from ..cython.anchors import anchors_cython
label_desc: Use image node_id 7 for calling a global function with example usage: _scale_enum(anchor, scales) and returns: anchors