bench_stats.py 文件源码

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

项目:composability_bench 作者: IntelPython 项目源码 文件源码
def prepare_dgemm(N=100, trials=3, dtype=np.double):
    LARGEDIM = int(N*2)
    KSIZE = int(N/2)
    A = np.asarray(np.random.rand(LARGEDIM, KSIZE), dtype=dtype)
    B = np.asarray(np.random.rand(KSIZE, LARGEDIM), dtype=dtype)
    return (A, B)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号