def conv1d(x: JaxArray, filters: JaxArray, strides: int, padding: str, data_format: str='NWC', dilations: int=1) -> JaxArray:
    strides = ((strides,) if isinstance(strides, int) else strides)
    dilations = ((dilations,) if isinstance(dilations, int) else dilations)
    return jlax.conv_general_dilated(x, filters, strides, padding, None, dilations, (data_format, 'WIO', data_format))
def conv1d(x: JaxArray, filters: JaxArray, strides: int, padding: str, data_format: str='NWC', dilations: int=1) -> JaxArray:
    strides = ((strides,) if isinstance(strides, int) else strides)
    dilations = ((dilations,) if isinstance(dilations, int) else dilations)
    return jlax.conv_general_dilated(x, filters, strides, padding, None, dilations, (data_format, 'WIO', data_format))