original_docstring: 
      Enumerate a set of anchors for each aspect ratio wrt an anchor.
      
docstring: Enumerate a set of anchors for each aspect ratio wrt an anchor.
docstring_tokens: Enumerate a set of anchors for each aspect ratio wrt an anchor .
code: def _ratio_enum(anchor, ratios):
      """
      Enumerate a set of anchors for each aspect ratio wrt an anchor.
      """
  
      w, h, x_ctr, y_ctr = _whctrs(anchor)
      size = w * h
      size_ratios = size / ratios
      ws = np.round(np.sqrt(size_ratios))
      hs = np.round(ws * ratios)
      anchors = _mkanchors(ws, hs, x_ctr, y_ctr)
      return anchors
code_tokens: def _ratio_enum ( anchor , ratios ) : w , h , x_ctr , y_ctr = _whctrs ( anchor ) size = w * h size_ratios = size / ratios ws = np . round ( np . sqrt ( size_ratios ) ) hs = np . round ( ws * ratios ) anchors = _mkanchors ( ws , hs , x_ctr , y_ctr ) return anchors
short_docstring: Enumerate a set of anchors for each aspect ratio wrt an anchor.
short_docstring_tokens: Enumerate a set of anchors for each aspect ratio wrt an anchor .
comment: """
      Enumerate a set of anchors for each aspect ratio wrt an anchor.
      """