code: def test_view_handler(tgt_shape, model_cls):
      spawn(
          check_view_handler,
          4,
          tgt_shape=tgt_shape,
          model_cls=model_cls,
      )
  
imports: import pytest
  import torch
  import torch.nn
  from colossalai._analyzer.fx.graph_module import ColoGraphModule
  from colossalai._analyzer.fx.passes.shape_prop import shape_prop_pass
  from colossalai._analyzer.fx.tracer.tracer import ColoTracer
  from colossalai.auto_parallel.tensor_shard.node_handler import ViewHandler
  from colossalai.auto_parallel.tensor_shard.node_handler.conv_handler import ConvFunctionHandler
  from colossalai.auto_parallel.tensor_shard.node_handler.linear_handler import LinearFunctionHandler
  from colossalai.auto_parallel.tensor_shard.sharding_strategy import OperationData, OperationDataType, StrategiesVector
  from colossalai.device.device_mesh import DeviceMesh
  from colossalai.initialize import launch
  from colossalai.logging import disable_existing_loggers
  from colossalai.testing import parameterize, rerun_if_address_is_in_use, spawn
  from colossalai.testing.pytest_wrapper import run_on_environment_flag
  from tests.test_auto_parallel.test_tensor_shard.test_node_handler.utils import numerical_test_for_node_strategy
label_desc: Use image node_id 2 for calling a global function with example usage: test_view_handler(tgt_shape, model_cls) without return types