class_docstr: Parameter for scaling the regression outputs.
class_docstr_tok: ["Parameter","for","scaling","the","regression","outputs","."]
code: def forward(self, inputs):
      out = inputs * self.scale_reg
      return out
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddle import ParamAttr
  from paddle.nn.initializer import Constant
  from ppdet.core.workspace import register
  from ..initializer import normal_, constant_, bias_init_with_prob
  from ppdet.modeling.bbox_utils import bbox_center, batch_distance2bbox
  from ..losses import GIoULoss
  from ppdet.modeling.layers import ConvNormLayer
  from ppdet.modeling.ops import get_static_shape
  from ppdet.modeling.assigners.utils import generate_anchors_for_grid_cell
label_desc: Use image node_id 2 for calling the ScaleReg obj's underlying member method code with example usage: obj.forward(inputs) and returns: out