code: def meta_check(
      meta_info_spec: TensorMetadata, orig_tensor: torch.Tensor
  ):
      assert meta_info_spec.shape == orig_tensor.shape
      assert meta_info_spec.dtype == orig_tensor.dtype
      assert meta_info_spec.stride == orig_tensor.stride()
      assert meta_info_spec.numel == orig_tensor.numel()
  
imports: import torch
  from torch.fx import symbolic_trace
  from colossalai.fx._compatibility import is_compatible_with_meta
  from colossalai.fx.passes.meta_info_prop import MetaInfoProp, TensorMetadata
  from colossalai.testing import clear_cache_before_run
label_desc: Use image node_id 1 for calling a global function with example usage: meta_check(meta_info_spec, orig_tensor) without return types