mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 20:46:46 +08:00
spelling: perturbations
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
f890871ed7
commit
039ee91238
@ -53,10 +53,10 @@ class TestBlas(mlx_tests.MLXTestCase):
|
|||||||
for dtype in self.dtypes:
|
for dtype in self.dtypes:
|
||||||
np_dtype = getattr(np, dtype)
|
np_dtype = getattr(np, dtype)
|
||||||
base_shapes = [4, 8, 16, 32, 64, 128]
|
base_shapes = [4, 8, 16, 32, 64, 128]
|
||||||
pertubations = [-2, -1, 0, 1, 2]
|
perturbations = [-2, -1, 0, 1, 2]
|
||||||
|
|
||||||
for dim in base_shapes:
|
for dim in base_shapes:
|
||||||
for p in pertubations:
|
for p in perturbations:
|
||||||
shape_a = (dim + p, dim + p)
|
shape_a = (dim + p, dim + p)
|
||||||
shape_b = (dim + p, dim + p)
|
shape_b = (dim + p, dim + p)
|
||||||
self.__gemm_test(shape_a, shape_b, np_dtype)
|
self.__gemm_test(shape_a, shape_b, np_dtype)
|
||||||
|
Loading…
Reference in New Issue
Block a user