code: def conv1d_strategy_arm_cpu(attrs, inputs, out_type, target):
      """conv1d strategy"""
      strategy = _op.OpStrategy()
      layout = attrs.data_layout
      kernel_layout = attrs.kernel_layout
      dilation = get_const_tuple(attrs.dilation)
      if dilation[0] < 1:
          raise ValueError("dilation should be a positive value")
  
      if kernel_layout == "WOI":
          if layout == "NWC" and target.features.has_dsp:
              strategy.add_implementation(
                  wrap_compute_conv1d(topi.arm_cpu.conv1d_nwc_dsp),
                  wrap_topi_schedule(
                      topi.arm_cpu.schedule_conv1d_nwc_dsp
                  ),
                  name="conv1d_dsp.arm_cpu",
              )
          else:
              raise RuntimeError(
                  f"Unsupported kernel layout {kernel_layout} for conv1d {layout} for arm cpu."
              )
      elif layout == "NCW":
          logger.warning(
              "conv1d with layout %s is not optimized for arm cpu.",
              layout,
          )
          strategy.add_implementation(
              wrap_compute_conv1d(topi.nn.conv1d_ncw),
              wrap_topi_schedule(topi.generic.schedule_conv1d_ncw),
              name="conv1d_ncw.generic",
          )
      elif layout == "NWC":
          logger.warning(
              "conv1d with layout %s is not optimized for arm cpu.",
              layout,
          )
          strategy.add_implementation(
              wrap_compute_conv1d(topi.nn.conv1d_nwc),
              wrap_topi_schedule(topi.generic.schedule_conv1d_nwc),
              name="conv1d_nwc.generic",
          )
      else:
          raise RuntimeError(
              f"Unsupported kernel layout {kernel_layout} for conv1d {layout} for arm cpu."
          )
      return strategy
  
imports: from functools import reduce
  import logging
  import re
  from tvm import relay, topi, tir
  from ....auto_scheduler import is_auto_scheduler_enabled
  from ....meta_schedule import is_meta_schedule_enabled
  from ....topi.generic import conv2d
  from ..None import op
  from .generic import *
label_desc: Use image node_id 18 for calling a global function with example usage: conv1d_strategy_arm_cpu(attrs, inputs, out_type, target) and returns: strategy