code: def __init__(self):
      super(PACT, self).__init__()
      alpha_attr = paddle.ParamAttr(
          name=self.full_name() + ".pact",
          initializer=paddle.nn.initializer.Constant(value=20),
          learning_rate=1.0,
          regularizer=paddle.regularizer.L2Decay(2e-5),
      )
  
      self.alpha = self.create_parameter(
          shape=[1], attr=alpha_attr, dtype="float32"
      )
  
file_path: PaddleOCR/test_tipc/supplementary/slim/slim_quant.py
imports: import paddle
  import numpy
  import os
  import paddle.nn
  import paddleslim
label_desc: Use image node_id 1 to create a new PACT object from inherited base classes: paddle.nn with example: obj = PACT()