test_kmeans.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:cupy 作者: cupy 项目源码 文件源码
def test_custom_kernel(self):
        output = example_test.run_example(
            'kmeans/kmeans.py', '-m', '1', '--num', '10',
            '--use-custom-kernel')
        six.assertRegex(
            self, output.decode('utf-8'),
            r' CPU :  [0-9\.]+ sec\s+GPU :  [0-9\.]+ sec')
评论列表


问题


面经


文章

微信
公众号

扫码关注公众号