Commit bd0c922a authored by zhangyue's avatar zhangyue
Browse files

issue/1008: mv "import infinicore" ahead of "import" torch

parent 5675a4af
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import BaseOperatorTest, TensorSpec, TestCase, GenericTestRunner from framework import BaseOperatorTest, TensorSpec, TestCase, GenericTestRunner
# Test cases format: (in_shape, in_strides_or_None) # Test cases format: (in_shape, in_strides_or_None)
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
CaseResult, CaseResult,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
...@@ -3,8 +3,8 @@ import os ...@@ -3,8 +3,8 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
import torch
import infinicore import infinicore
import torch
from framework import ( from framework import (
BaseOperatorTest, BaseOperatorTest,
TensorSpec, TensorSpec,
......
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