code: def test_get_recompute_buffer(DRAM):
      stripe_config = StripeConfig(
          shape=[4, 5, 7],
          extent=[6, 7, 14],
          strides=[2, 3, 7],
          order=[1, 3, 2],
          stripes=[2, 2, 2],
          offset=[0, 0, 0],
      )
      tensor = Tensor(
          shape=[6, 7, 14], dtype="int32", compression_ratio=0.5
      )
      tensor_config = TensorConfig(
          tensor=tensor,
          home_region=DRAM,
          state=TensorConfigState.BOUNDARY,
          buffer_mode=BufferMode.RECOMPUTE,
          stripe_configs=[stripe_config],
      )
  
      assert tensor_config.get_buffer_size() == 280
  
imports: from tvm.contrib.ethosu.cascader import StripeConfig, Tensor, MemoryRegion, TensorConfig, TensorConfigState, BufferMode
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_recompute_buffer(DRAM) without return types