mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-24 14:58:17 +08:00
Remove use of vector<const T> (#1514)
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user