Fix benchmark example (#11)

This commit is contained in:
Yingbo Ma 2023-12-06 10:17:16 -05:00 committed by GitHub
parent 8c96b9a890
commit 36b245b287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ def time_batch_matmul():
time_fn(batch_vjp_second)
def time_unbatch_matmul(key):
def time_unbatch_matmul():
mx.random.seed(3)
a = mx.random.uniform(shape=(B * T, D))
b = mx.random.uniform(shape=(D, D))