提交 aea6b0c9 编写于 作者: V VectorSL 提交者: Gitee

update tests/st/ops/gpu/test_tensoradd.py.

fix pytest.mark for testcase
上级 569e5b05
......@@ -25,10 +25,6 @@ from mindspore.common.parameter import Parameter
context.set_context(device_target='GPU')
@pytest.mark.level0
@pytest.mark.platform_x86_gpu_training
@pytest.mark.env_onecard
class TensroAdd(nn.Cell):
def __init__(self):
super(TensroAdd, self).__init__()
......@@ -61,7 +57,9 @@ class TensroAdd(nn.Cell):
self.add(self.x, self.y), self.add(self.x1, self.y1), self.add(self.x2, self.y2),
self.add(self.x3, self.y3))
@pytest.mark.level0
@pytest.mark.platform_x86_gpu_training
@pytest.mark.env_onecard
def test_TensroAdd():
add = TensroAdd()
output = add()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册