code: def forward(self, x):
      embed = self.lut(x) * math.sqrt(self.d_model)
      return embed
  
imports: import copy
  import math
  import paddle
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 2 for calling the Embeddings obj's underlying member method code with example usage: obj.forward(x) and returns: embed