def _attach_group_id(self, name):
        """Attach group ID if needed

        Returns
        -------
        str
            new name with group ID attached
        """
        if not self._attach:
            return name
        return "{}_{}".format(name, get_group_id())
Attach group ID if needed

        Returns
        -------
        str
            new name with group ID attached
        
python/dgl/distributed/dist_tensor.py