def idtype(self):
        """The dtype of graph index

        Returns
        -------
        backend dtype object
            th.int32/th.int64 or tf.int32/tf.int64 etc.

        See Also
        --------
        long
        int
        """
        # TODO(da?): describe when self._g is None and idtype shouldn't be called.
        # For GraphBolt partition, we use the global node ID's dtype.
        return (
            self.get_partition_book().global_nid_dtype
            if self._use_graphbolt
            else F.int64
        )
The dtype of graph index

        Returns
        -------
        backend dtype object
            th.int32/th.int64 or tf.int32/tf.int64 etc.

        See Also
        --------
        long
        int
        
python/dgl/distributed/dist_graph.py