feat: Update pre-commit-config.yaml (#667)

This commit is contained in:
Nripesh Niketan
2024-02-11 18:08:20 +04:00
committed by GitHub
parent 06072601ce
commit 0dbc4c7547
4 changed files with 14 additions and 14 deletions

View File

@@ -1333,9 +1333,7 @@ class TestOps(mlx_tests.MLXTestCase):
for d in dims:
anp = np.random.randint(-20, 20, (size**d,)).reshape([size] * d)
for n_bsx in range(d):
bnp = np.random.randint(-20, 20, (size**n_bsx,)).reshape(
[size] * n_bsx
)
bnp = np.random.randint(-20, 20, (size**n_bsx,)).reshape([size] * n_bsx)
for _ in range(trial_mul * d):
amlx = mx.array(anp)
bmlx = mx.array(bnp)