code: def _is_numeric_dtype_enum(datatype_enum):
      non_numeric_dtypes = [
          types_pb2.DT_VARIANT,
          types_pb2.DT_VARIANT_REF,
          types_pb2.DT_INVALID,
          types_pb2.DT_RESOURCE,
          types_pb2.DT_RESOURCE_REF,
      ]
      return datatype_enum not in non_numeric_dtypes
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import _dtypes
  from tensorflow.core.framework import types_pb2
  from tensorflow.core.function import trace_type
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling a global function with example usage: _is_numeric_dtype_enum(datatype_enum) and returns: unknown