code: def __init__(self, channel, time_embed_dim, act_fn="silu"):
      super().__init__()
  
      self.linear_1 = nn.Linear(channel, time_embed_dim)
      self.act = None
      if act_fn == "silu":
          self.act = nn.Silu()
      self.linear_2 = nn.Linear(time_embed_dim, time_embed_dim)
  
file_path: PaddleHub/modules/image/text_to_image/stable_diffusion_img2img/diffusers/models/embeddings.py
imports: import math
  import numpy
  import paddle
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 1 to create a new TimestepEmbedding object from inherited base classes: nn with example: obj = TimestepEmbedding(channel, time_embed_dim, act_fn)