class_docstr: This class generates anchors (or priors) ``on-the-fly`` for the
  `single shot object detector (SSD) <https://arxiv.org/abs/1512.02325>`_.
class_docstr_tok: ["This","class","generates","anchors","(","or","priors",")","``","on-the-fly","``","for","the","`","single","shot","object","detector","(","SSD",")","<","https",":","\/\/arxiv.org\/abs\/1512.02325",">","`","_","."]
docstr: Returns anchors per output stride for SSD
docstr_tok: ["Returns","anchors","per","output","stride","for","SSD"]
code: def num_anchors_per_os(self) -> List:
      """
      Returns anchors per output stride for SSD
      """
      return [
          2 + 2 * len(ar)
          for os, ar in self.output_strides_aspect_ratio.items()
      ]
  
file_path: ml-cvnets/cvnets/anchor_generator/ssd_anchor_generator.py
imports: import argparse
  from itertools import product
  from typing import List, Optional
  import numpy
  import torch
  from torch import Tensor
  from cvnets.anchor_generator import ANCHOR_GEN_REGISTRY, BaseAnchorGenerator
  from utils import logger
label_desc: Use image node_id 4 for calling the SSDAnchorGenerator obj's underlying member method code with example usage: obj.num_anchors_per_os() and returns: unknown