Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 191 Bytes

python-numpy.md

File metadata and controls

9 lines (8 loc) · 191 Bytes

numpy 성능 체크

import numpy as np
size_of_mat = 2**14
X = np.random.randn(size_of_mat, size_of_mat).astype(np.float32)
out = np.empty_like(X)
%timeit np.dot(X.T, X, out=out)