code: def test_plan(DRAM, SRAM):
      subgraph = cs.TESubgraph([], None)
      part = cs.InlinePart(
          subgraph,
          [
              cs.Propagator(
                  [[1, 0, 0], [0, 1, 0], [0, 0, 1]],
                  [0, 0],
              ),
          ],
      )
      tensor_1 = cs.Tensor([10, 10], "uint8")
      tensor_2 = cs.Tensor([10, 10], "uint8")
  
      part.set_input(0, tensor_1)
      part.set_output(tensor_2)
      tensor_1.add_consumer(part)
      tensor_2.add_producer(part)
  
      output_stripe_config = cs.StripeConfig(
          shape=[5, 5],
          extent=[10, 10],
          strides=[5, 5],
          order=[1, 2],
          stripes=[2, 2],
          offset=[0, 0],
      )
      tensor_config_out = cs.TensorConfig(
          tensor=tensor_2,
          home_region=DRAM,
          state=cs.TensorConfigState.BOUNDARY,
          buffer_mode=cs.BufferMode.RECOMPUTE,
          stripe_configs=[output_stripe_config],
          copy_tensor=False,
      )
      input_stripe_config = part.calculate_input_stripe_configs(
          output_stripe_config
      )[0]
      tensor_config_in = cs.TensorConfig(
          tensor=tensor_1,
          home_region=DRAM,
          state=cs.TensorConfigState.INTERIOR,
          buffer_mode=cs.BufferMode.ROLLING,
          stripe_configs=[input_stripe_config],
          copy_tensor=False,
      )
      tensor_configs = {
          tensor_1: tensor_config_in,
          tensor_2: tensor_config_out,
      }
      open_configs = frozenset([tensor_config_in])
      part_group = frozenset([part])
      interior_region = SRAM
      memory_usage = 100
      cycles = 20
      plan = cs.Plan(
          tensor_configs=tensor_configs,
          open_configs=open_configs,
          output_config=tensor_config_out,
          part_group=part_group,
          interior_region=interior_region,
          memory_usage=memory_usage,
          cycles=cycles,
      )
  
      assert plan.tensor_configs == tensor_configs
      assert plan.open_configs == open_configs
      assert plan.output_config == tensor_config_out
      assert plan.part_group == part_group
      assert plan.interior_region == interior_region
      assert plan.memory_usage == memory_usage
      assert plan.cycles == cycles
  
imports: import tvm.contrib.ethosu.cascader
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_plan(DRAM, SRAM) without return types