code: def verify_partition_data_types(part_g):
      """Validate the dtypes in the partitioned graphs are valid
  
      Parameters:
      -----------
      part_g : DGL Graph object
          created for the partitioned graphs
      """
      for k, dtype in RESERVED_FIELD_DTYPE.items():
          if k in part_g.ndata:
              assert part_g.ndata[k].dtype == dtype
          if k in part_g.edata:
              assert part_g.edata[k].dtype == dtype
  
file_path: dgl/tools/verification_utils.py
imports: import json
  import os
  import constants
  import dgl
  import numpy
  import pyarrow
  import pyarrow.parquet
  import pytest
  import torch
  from dgl.data.utils import load_tensors
  from dgl.distributed.partition import _etype_str_to_tuple, _etype_tuple_to_str, _get_inner_edge_mask, _get_inner_node_mask, RESERVED_FIELD_DTYPE
  from distpartitioning.utils import get_idranges
label_desc: Use image node_id 2 for calling a global function with example usage: verify_partition_data_types(part_g) without return types