Unverified Commit 60d4ea69 authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files

[Misc] Keep import in order. (#6207)


Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
parent f8c60a18
...@@ -5,21 +5,21 @@ import sys ...@@ -5,21 +5,21 @@ import sys
import torch import torch
from .._ffi import libinfo from .._ffi import libinfo
from .itemset import *
from .minibatch_sampler import *
from .feature_store import *
from .feature_fetcher import *
from .copy_to import * from .copy_to import *
from .data_block import *
from .data_format import *
from .dataloader import *
from .dataset import * from .dataset import *
from .feature_fetcher import *
from .feature_store import *
from .impl import * from .impl import *
from .dataloader import * from .itemset import *
from .subgraph_sampler import * from .link_prediction_block import *
from .sampled_subgraph import * from .minibatch_sampler import *
from .data_format import *
from .negative_sampler import * from .negative_sampler import *
from .data_block import *
from .node_classification_block import * from .node_classification_block import *
from .link_prediction_block import * from .sampled_subgraph import *
from .subgraph_sampler import *
from .utils import unique_and_compact, unique_and_compact_node_pairs from .utils import unique_and_compact, unique_and_compact_node_pairs
......
...@@ -6,7 +6,6 @@ import torchdata.datapipes as dp ...@@ -6,7 +6,6 @@ import torchdata.datapipes as dp
from .datapipe_utils import datapipe_graph_to_adjlist from .datapipe_utils import datapipe_graph_to_adjlist
from .feature_fetcher import FeatureFetcher from .feature_fetcher import FeatureFetcher
from .minibatch_sampler import MinibatchSampler from .minibatch_sampler import MinibatchSampler
......
"""Implementation of GraphBolt.""" """Implementation of GraphBolt."""
from .csc_sampling_graph import *
from .neighbor_sampler import *
from .ondisk_dataset import * from .ondisk_dataset import *
from .ondisk_metadata import * from .ondisk_metadata import *
from .torch_based_feature_store import *
from .csc_sampling_graph import *
from .sampled_subgraph_impl import * from .sampled_subgraph_impl import *
from .torch_based_feature_store import *
from .uniform_negative_sampler import * from .uniform_negative_sampler import *
from .neighbor_sampler import *
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import os import os
import shutil import shutil
from copy import deepcopy from copy import deepcopy
from typing import Dict, List from typing import Dict, List
...@@ -15,7 +14,6 @@ import dgl ...@@ -15,7 +14,6 @@ import dgl
from ..dataset import Dataset, Task from ..dataset import Dataset, Task
from ..itemset import ItemSet, ItemSetDict from ..itemset import ItemSet, ItemSetDict
from ..utils import read_data, save_data from ..utils import read_data, save_data
from .csc_sampling_graph import ( from .csc_sampling_graph import (
CSCSamplingGraph, CSCSamplingGraph,
from_dglgraph, from_dglgraph,
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
from typing import List from typing import List
import numpy as np import numpy as np
import torch import torch
from ..feature_store import FeatureStore from ..feature_store import FeatureStore
......
import os import os
import dgl.graphbolt as gb import dgl.graphbolt as gb
import numpy as np import numpy as np
import pandas as pd import pandas as pd
import scipy.sparse as sp import scipy.sparse as sp
......
...@@ -3,11 +3,10 @@ import tempfile ...@@ -3,11 +3,10 @@ import tempfile
import unittest import unittest
import backend as F import backend as F
import dgl import dgl
import dgl.graphbolt as gb import dgl.graphbolt as gb
import gb_test_utils as gbt import gb_test_utils as gbt
import pytest import pytest
import torch import torch
from scipy import sparse as spsp from scipy import sparse as spsp
......
import os import os
import pickle import pickle
import re import re
import tempfile import tempfile
import unittest import unittest
import gb_test_utils as gbt import gb_test_utils as gbt
import numpy as np import numpy as np
import pandas as pd import pandas as pd
import pydantic import pydantic
import pytest import pytest
import torch import torch
import yaml import yaml
from dgl import graphbolt as gb from dgl import graphbolt as gb
......
import pytest import pytest
import torch import torch
from dgl.graphbolt.impl.sampled_subgraph_impl import ( from dgl.graphbolt.impl.sampled_subgraph_impl import (
exclude_edges, exclude_edges,
SampledSubgraphImpl, SampledSubgraphImpl,
......
...@@ -5,6 +5,7 @@ import numpy as np ...@@ -5,6 +5,7 @@ import numpy as np
import pydantic import pydantic
import pytest import pytest
import torch import torch
from dgl import graphbolt as gb from dgl import graphbolt as gb
......
import unittest import unittest
import backend as F import backend as F
import dgl.graphbolt import dgl.graphbolt
import torch import torch
......
import pytest import pytest
from dgl import graphbolt as gb from dgl import graphbolt as gb
......
...@@ -3,6 +3,7 @@ import unittest ...@@ -3,6 +3,7 @@ import unittest
from functools import partial from functools import partial
import backend as F import backend as F
import dgl import dgl
import dgl.graphbolt import dgl.graphbolt
import gb_test_utils import gb_test_utils
......
import backend as F import backend as F
import dgl import dgl
import dgl.graphbolt import dgl.graphbolt
import gb_test_utils import gb_test_utils
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment