code: def _get_dtype(dtype):
      if isinstance(dtype, ArrayType):
          return _get_dtype(dtype.elementType)
      if dtype not in _dtypes:
          raise Exception("Unknown type %s " % str(dtype))
      return _dtypes[dtype]
  
imports: import tensorflow
  import numpy
  import logging
  import tempfile
  import pandas
  from pyspark import RDD, SparkContext
  from pyspark.sql import SQLContext, Row, DataFrame
  from pyspark.sql.types import DoubleType, IntegerType, LongType, FloatType, ArrayType
label_desc: Use image node_id 26 for calling a global function with example usage: _get_dtype(dtype) and returns: _dtypes, _get_dtype