code: def __init__(
      self,
      filters,
      kernel_size,
      strides=1,
      padding="valid",
      activation=None,
      kernel_regularizer=None,
      bias_regularizer=None,
      use_bias=True,
      input_shape=None,
      **kwargs,
  ):
      if padding != "valid":
          raise ValueError(
              "For LocallyConnected1D, "
              "only padding='valid' is supported for now"
          )
      super(LocallyConnected1D, self).__init__(
          None,
          filters,
          kernel_size,
          strides,
          padding,
          activation,
          kernel_regularizer,
          bias_regularizer,
          use_bias,
          list(input_shape) if input_shape else None,
          **kwargs,
      )
  
imports: import sys
  from zoo.pipeline.api.keras2.base import ZooKeras2Layer
label_desc: Use image node_id 1 to create a new LocallyConnected1D object from inherited base classes: ZooKeras2Layer with example: obj = LocallyConnected1D(filters, kernel_size, strides, padding, activation, kernel_regularizer, bias_regularizer, use_bias, input_shape)