mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-03 15:51:15 +08:00
Fix benchmark example (#11)
This commit is contained in:
parent
8c96b9a890
commit
36b245b287
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user