code: def conv3d_strategy_cpu(attrs, inputs, out_type, target):
      """conv3d generic strategy"""
      strategy = _op.OpStrategy()
      layout = attrs.data_layout
      need_auto_scheduler_layout = is_auto_scheduler_enabled()
      need_meta_schedule_layout = is_meta_schedule_enabled()
      if need_auto_scheduler_layout or need_meta_schedule_layout:
          # Use auto-scheduler. We should provide clear compute definition without autotvm templates
          # or packed layouts.
          if layout == "NCDHW":
              strategy.add_implementation(
                  wrap_compute_conv3d(topi.nn.conv3d_ncdhw),
                  naive_schedule,
                  name="conv3d_ncdhw.x86",
              )
          elif layout == "NDHWC":
              strategy.add_implementation(
                  wrap_compute_conv3d(
                      topi.nn.conv3d_ndhwc,
                      need_auto_scheduler_layout=need_auto_scheduler_layout,
                      need_meta_schedule_layout=need_meta_schedule_layout,
                  ),
                  naive_schedule,
                  name="conv3d_ndhwc.x86",
              )
          else:
              raise ValueError(f"Not support this layout {layout} yet")
      else:
          # Use autotvm templates
          if layout == "NCDHW":
              strategy.add_implementation(
                  wrap_compute_conv3d(topi.x86.conv3d_ncdhw),
                  wrap_topi_schedule(topi.x86.schedule_conv3d_ncdhw),
                  name="conv3d_ncdhw.x86",
              )
          elif layout == "NDHWC":
              strategy.add_implementation(
                  wrap_compute_conv3d(topi.x86.conv3d_ndhwc),
                  wrap_topi_schedule(topi.x86.schedule_conv3d_ndhwc),
                  name="conv3d_ndhwc.x86",
              )
          else:
              raise ValueError(f"Not support this layout {layout} yet")
      return strategy
  
imports: import logging
  import re
  from tvm import tir, topi
  from tvm.auto_scheduler import is_auto_scheduler_enabled
  from tvm.meta_schedule import is_meta_schedule_enabled
  from tvm.relay.ty import is_dynamic
  from tvm.te import SpecializedCondition
  from ..None import op
  from .generic import *
label_desc: Use image node_id 13 for calling a global function with example usage: conv3d_strategy_cpu(attrs, inputs, out_type, target) and returns: strategy