mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 12:06:42 +08:00
spelling: irregularly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
e54c872bc3
commit
fe3c914d41
@ -1750,7 +1750,7 @@ TEST_CASE("test scatter") {
|
|||||||
out = scatter_max(array(1), {}, array(2), std::vector<int>{});
|
out = scatter_max(array(1), {}, array(2), std::vector<int>{});
|
||||||
CHECK_EQ(out.item<int>(), 2);
|
CHECK_EQ(out.item<int>(), 2);
|
||||||
|
|
||||||
// Irregularaly strided updates test
|
// Irregularly strided updates test
|
||||||
in = ones({3, 3});
|
in = ones({3, 3});
|
||||||
updates = broadcast_to(array({0, 0, 0}), {1, 3, 3});
|
updates = broadcast_to(array({0, 0, 0}), {1, 3, 3});
|
||||||
inds = array({0});
|
inds = array({0});
|
||||||
|
Loading…
Reference in New Issue
Block a user