code: def _check_tensor_list_input(tensor_list):
      """Check if the input is a list of supported tensor types."""
      if not isinstance(tensor_list, list):
          raise RuntimeError(
              "The input must be a list of tensors. "
              "Got '{}'.".format(type(tensor_list))
          )
      if not tensor_list:
          raise RuntimeError("Got an empty list of tensors.")
      for t in tensor_list:
          _check_single_tensor_input(t)
  
imports: import logging
  import os
  from typing import List
  import numpy
  import ray
  from ray.util.collective import types
label_desc: Use image node_id 30 for calling a global function with example usage: _check_tensor_list_input(tensor_list) without return types