code: def __init__(self, emb_dim):
      super(AtomEncoderFloat, self).__init__()
  
      num_center = 21
      centers1 = np.linspace(-1, 4, num_center).reshape(1, -1)
  
      self.centers1 = self.create_parameter(
          shape=centers1.shape,
          dtype="float32",
          default_initializer=nn.initializer.Assign(centers1),
      )
      self.centers1.stop_gradient = True
  
      centers2 = np.linspace(1, 3, num_center).reshape(1, -1)
      self.centers2 = self.create_parameter(
          shape=centers2.shape,
          dtype="float32",
          default_initializer=nn.initializer.Assign(centers2),
      )
      self.centers2.stop_gradient = True
  
      self.width = 0.5
  
      num_float_feat = 2
      self.atom_embedding_list = nn.LayerList()
      for _i in range(num_float_feat):
          emb = nn.Linear(num_center, emb_dim, bias_attr=False)
          self.atom_embedding_list.append(emb)
  
imports: import numpy
  import paddle
  import paddle.nn
  import paddle.distributed
  from pgl.utils.logger import log
  import features.local_feature
label_desc: Use image node_id 1 to create a new AtomEncoderFloat object from inherited base classes: nn with example: obj = AtomEncoderFloat(emb_dim)