@@ -0,0 +1,997 @@
+import unittest%0A%0Aimport chainer%0Afrom chainer import testing%0Afrom chainer.testing import attr%0A%0Afrom chainercv.links.model.deeplab.xception import Xception65%0A%0A%0Aclass TestXception(unittest.TestCase):%0A%0A    def setUp(self):%0A        self.link = Xception65()%0A%0A    def check_call(self):%0A        xp = self.link.xp%0A        x = chainer.Variable(xp.random.uniform(%0A            low=-1, high=1, size=(2, 3, 64, 64)%0A        ).astype(xp.float32))%0A        y1, y2 = self.link(x)%0A%0A        self.assertIsInstance(y1, chainer.Variable)%0A        self.assertIsInstance(y1.data, xp.ndarray)%0A        self.assertEqual(y1.shape, (2, 256, 16, 16))%0A        self.assertIsInstance(y2, chainer.Variable)%0A        self.assertIsInstance(y2.data, xp.ndarray)%0A        self.assertEqual(y2.shape, (2, 2048, 8, 8))%0A%0A    @attr.slow%0A    def test_call_cpu(self):%0A        self.check_call()%0A%0A    @attr.gpu%0A    @attr.slow%0A    def test_call_gpu(self):%0A        self.link.to_gpu()%0A        self.check_call()%0A%0A%0Atesting.run_module(__name__, __file__)%0A

add test_xception