def _scale_enum(anchor, scales):
 (w, h, x_ctr, y_ctr) = _whctrs(anchor)
 ws = (w * scales)
 hs = (h * scales)
 anchors = _mkanchors(ws, hs, x_ctr, y_ctr)
 return anchors

def _scale_enum ( anchor , scales ) : ( w , h , x_ctr , y_ctr ) = _whctrs ( anchor ) ws = ( w * scales ) hs = ( h * scales ) anchors = _mkanchors ( ws , hs , x_ctr , y_ctr ) return anchors
enumerate a set of anchors for each scale wrt an anchor .