code: def __init__(
      self,
      in_channels,
      out_channels,
      kernel_size,
      stride=1,
      padding="same",
      dilation=1,
      groups=1,
      bias=True,
      padding_mode="reflect",
  ):
      super(Conv1d, self).__init__()
  
      self.kernel_size = kernel_size
      self.stride = stride
      self.dilation = dilation
      self.padding = padding
      self.padding_mode = padding_mode
  
      self.conv = nn.Conv1D(
          in_channels,
          out_channels,
          self.kernel_size,
          stride=self.stride,
          padding=0,
          dilation=self.dilation,
          groups=groups,
          bias_attr=bias,
      )
  
imports: import math
  import os
  import paddle
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 1 to create a new Conv1d object from inherited base classes: nn with example: obj = Conv1d(in_channels, out_channels, kernel_size, stride, padding, dilation, groups, bias, padding_mode)