From de2ebf8ebcb6d5cd16031668772fd4e03a8ff0f3 Mon Sep 17 00:00:00 2001 From: shenpengcheng Date: Sun, 30 Jan 2022 09:53:25 +0800 Subject: [PATCH] =?UTF-8?q?Modify=20"test=5Fflip.py"=20=E3=80=81"test=5Fpr?= =?UTF-8?q?elu.py"=E3=80=81=E2=80=9Ctest=5Fprelu=5Fbackward.py=E2=80=9D?= =?UTF-8?q?=E4=B8=89=E4=B8=AA=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E4=BE=9D=E8=B5=96=E7=9A=84=E6=A0=BC=E5=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit modify testFile --- test/test_network_ops/test_flip.py | 1 + test/test_network_ops/{prelu.py => test_prelu.py} | 1 + .../{prelu_backward.py => test_prelu_backward.py} | 1 + 3 files changed, 3 insertions(+) rename test/test_network_ops/{prelu.py => test_prelu.py} (99%) rename test/test_network_ops/{prelu_backward.py => test_prelu_backward.py} (99%) diff --git a/test/test_network_ops/test_flip.py b/test/test_network_ops/test_flip.py index c77f0ee1b63..11d2800912e 100644 --- a/test/test_network_ops/test_flip.py +++ b/test/test_network_ops/test_flip.py @@ -15,6 +15,7 @@ import torch import torch_npu import numpy as np + from torch_npu.testing.common_utils import TestCase, run_tests from torch_npu.testing.common_device_type import instantiate_device_type_tests from torch_npu.testing.util_test import create_common_tensor diff --git a/test/test_network_ops/prelu.py b/test/test_network_ops/test_prelu.py similarity index 99% rename from test/test_network_ops/prelu.py rename to test/test_network_ops/test_prelu.py index cebcf1f1e85..6a41dc94faf 100644 --- a/test/test_network_ops/prelu.py +++ b/test/test_network_ops/test_prelu.py @@ -15,6 +15,7 @@ import torch import torch_npu import numpy as np + from torch_npu.testing.common_utils import TestCase, run_tests from torch_npu.testing.common_device_type import instantiate_device_type_tests from torch_npu.testing.util_test import create_common_tensor diff --git a/test/test_network_ops/prelu_backward.py b/test/test_network_ops/test_prelu_backward.py similarity index 99% rename from test/test_network_ops/prelu_backward.py rename to test/test_network_ops/test_prelu_backward.py index 57188906abf..5b219038d52 100644 --- a/test/test_network_ops/prelu_backward.py +++ b/test/test_network_ops/test_prelu_backward.py @@ -15,6 +15,7 @@ import torch import torch_npu import numpy as np + from torch_npu.testing.common_utils import TestCase, run_tests from torch_npu.testing.common_device_type import instantiate_device_type_tests from torch_npu.testing.util_test import create_common_tensor -- Gitee