Clean code for wrong import order.

This commit is contained in:
shaoyf
2022-10-08 08:56:25 +00:00
committed by Gitee
parent 86fabd9a3e
commit f296e8584b
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -14,9 +14,9 @@
import os
import numpy as np
import torch
import torch_npu
import numpy as np
import torch.distributed as dist
import torch.multiprocessing as mp
@@ -14,9 +14,9 @@
import sys
import numpy as np
import torch
import torch_npu
import numpy as np
import torch.nn as nn
from torch_npu.testing.testcase import TestCase, run_tests
@@ -14,9 +14,9 @@
import sys
import numpy as np
import torch
import torch_npu
import numpy as np
import torch.nn as nn
from torch_npu.testing.testcase import TestCase, run_tests
+1 -1
View File
@@ -13,9 +13,9 @@
# limitations under the License.
import numpy as np
import torch
import torch_npu
import numpy as np
from torch_npu.testing.testcase import TestCase, run_tests
from torch_npu.testing.common_utils import create_common_tensor
+1 -1
View File
@@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import numpy as np
import torch
import torch_npu
import numpy as np
import torch.nn as nn
from torch_npu.testing.testcase import TestCase, run_tests
+1 -1
View File
@@ -15,9 +15,9 @@
# limitations under the License.
import numpy as np
import torch
import torch_npu
import numpy as np
from torch_npu.testing.testcase import TestCase, run_tests
from torch_npu.testing.common_utils import create_common_tensor
+1 -1
View File
@@ -14,9 +14,9 @@
import sys
import numpy as np
import torch
import torch_npu
import numpy as np
import torch.nn as nn
from torch_npu.testing.testcase import TestCase, run_tests
+1 -1
View File
@@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import numpy as np
import torch
import torch_npu
import torch.nn as nn
import numpy as np
from torch_npu.testing.testcase import TestCase, run_tests
from torch_npu.testing.common_utils import create_common_tensor
+1 -1
View File
@@ -15,9 +15,9 @@
# limitations under the License.
import numpy as np
import torch
import torch_npu
import numpy as np
from torch_npu.testing.testcase import TestCase, run_tests
from torch_npu.testing.common_utils import create_common_tensor