未验证 提交 cb0472b0 编写于 作者: A Aurelius84 提交者: GitHub

merge into one function test=develop (#25184)

上级 68e93d8a
...@@ -517,10 +517,10 @@ class TestMobileNet(unittest.TestCase): ...@@ -517,10 +517,10 @@ class TestMobileNet(unittest.TestCase):
np.allclose(dy_out, st_out), np.allclose(dy_out, st_out),
msg="dy_out: {}, st_out: {}".format(dy_out, st_out)) msg="dy_out: {}, st_out: {}".format(dy_out, st_out))
def test_mobileNetV1(self): def test_mobileNet(self):
# MobileNet-V1
self.assert_same_loss("MobileNetV1") self.assert_same_loss("MobileNetV1")
# MobileNet-V2
def test_mobileNetV2(self):
self.assert_same_loss("MobileNetV2") self.assert_same_loss("MobileNetV2")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册