code: def get_empty_tensor(device: torch.device, dtype: torch.dtype):
      key = (device, dtype)
      if key not in EMPTY_TENSOR_DICT:
          EMPTY_TENSOR_DICT[key] = torch.empty(
              0, dtype=dtype, device=device
          )
  
      return EMPTY_TENSOR_DICT[key]
  
file_path: colossalai/colossalai/legacy/zero/sharded_param/sharded_param.py
imports: from typing import List, Optional, Tuple
  import torch
  from colossalai.legacy.zero.gemini.stateful_tensor import StatefulTensor, TensorState
  from colossalai.legacy.zero.gemini.tensor_utils import colo_tensor_mem_usage
  from .sharded_tensor import ShardedTensor
label_desc: Use image node_id 1 for calling a global function with example usage: get_empty_tensor(device, dtype) and returns: EMPTY_TENSOR_DICT