code: def roi_align_strategy_cpu(attrs, inputs, out_type, target):
      """roi_align x86 strategy"""
      strategy = _op.OpStrategy()
      layout = attrs.layout
      if layout == "NCHW":
          strategy.add_implementation(
              wrap_compute_roi_align(topi.x86.roi_align_nchw),
              wrap_topi_schedule(topi.generic.schedule_roi_align),
              name="roi_align.x86",
          )
      else:
          assert layout == "NHWC", "layout must be NCHW or NHWC."
          strategy.add_implementation(
              wrap_compute_roi_align(topi.vision.rcnn.roi_align_nhwc),
              wrap_topi_schedule(topi.generic.schedule_roi_align),
              name="roi_align.x86",
          )
      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 21 for calling a global function with example usage: roi_align_strategy_cpu(attrs, inputs, out_type, target) and returns: strategy