mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 20:46:46 +08:00
spelling: collision
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
35c5530ea1
commit
76ac49cac3
@ -1733,7 +1733,7 @@ TEST_CASE("test scatter") {
|
|||||||
out = scatter(in, inds, updates, 0);
|
out = scatter(in, inds, updates, 0);
|
||||||
CHECK(array_equal(out, reshape(arange(16, float32), {4, 4})).item<bool>());
|
CHECK(array_equal(out, reshape(arange(16, float32), {4, 4})).item<bool>());
|
||||||
|
|
||||||
// Irregular strided index and reduce collison test
|
// Irregular strided index and reduce collision test
|
||||||
in = zeros({10}, float32);
|
in = zeros({10}, float32);
|
||||||
inds = broadcast_to(array(3), {10});
|
inds = broadcast_to(array(3), {10});
|
||||||
updates = ones({10, 1}, float32);
|
updates = ones({10, 1}, float32);
|
||||||
|
Loading…
Reference in New Issue
Block a user