def METHOD_NAME(self):
    embeds = SharedEmbedding.from_array(self.x, self.weight_path)
    indexs = paddle.to_tensor([0, 2])
    trace = embeds.create_trace(indexs, None)
    self.assertIsNone(trace)