mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 17:31:16 +08:00
Remove use of vector<const T> (#1514)
This commit is contained in:
parent
3ddc07e936
commit
f6afb9c09b
@ -32,7 +32,7 @@ void CustomKernel::eval_gpu(
|
|||||||
return copies.back();
|
return copies.back();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
std::vector<const array> checked_inputs;
|
std::vector<array> checked_inputs;
|
||||||
for (const array& in : inputs) {
|
for (const array& in : inputs) {
|
||||||
checked_inputs.push_back(check_input(in));
|
checked_inputs.push_back(check_input(in));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user