This commit is contained in:
2023-01-23 10:17:53 +00:00
parent f4341c5e6c
commit ab78dab165
4 changed files with 112 additions and 16 deletions
+13
View File
@@ -0,0 +1,13 @@
import numpy as np
import time
if __name__ == '__main__':
start = time.perf_counter()
a, b = np.random.rand(1024, 1024), np.random.rand(1024, 1024)
print(f'init time: {time.perf_counter() - start}')
start = time.perf_counter()
c = np.dot(a, b)
print(f'dot time: {time.perf_counter() - start}')