class_docstr: Faster RCNN box coder.
docstr: Constructor for FasterRcnnBoxCoder.
  
  Args:
    scale_factors: List of 4 positive scalars to scale ty, tx, th and tw.
      If set to None, does not perform scaling. For Faster RCNN,
      the open-source implementation recommends using [10.0, 10.0, 5.0, 5.0].
docstr_tok: ["Constructor","for","FasterRcnnBoxCoder",".","Args",":","scale_factors",":","List","of","4","positive","scalars","to","scale","ty",",","tx",",","th","and","tw",".","If","set","to","None",",","does","not","perform","scaling",".","For","Faster","RCNN",",","the","open-source","implementation","recommends","using","[","10.0",",","10.0",",","5.0",",","5.0","]","."]
code: def __init__(self, scale_factors=None):
      """Constructor for FasterRcnnBoxCoder.
  
      Args:
        scale_factors: List of 4 positive scalars to scale ty, tx, th and tw.
          If set to None, does not perform scaling. For Faster RCNN,
          the open-source implementation recommends using [10.0, 10.0, 5.0, 5.0].
      """
      if scale_factors:
          assert len(scale_factors) == 4
          for scalar in scale_factors:
              assert scalar > 0
      self._scale_factors = scale_factors
  
file_path: DALI/docs/examples/use_cases/tensorflow/efficientdet/pipeline/anchors_utils/faster_rcnn_box_coder.py
imports: import tensorflow.compat.v1
  from .None import box_coder
  from .None import box_list
label_desc: Use image node_id 1 to create a new FasterRcnnBoxCoder object from inherited base classes: box_coder with example: obj = FasterRcnnBoxCoder(scale_factors)