mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Remove unneeded check
This commit is contained in:
@@ -43,10 +43,8 @@ void eval(array& arr) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (auto& s : arr.siblings()) {
|
for (auto& s : arr.siblings()) {
|
||||||
if (s.data_shared_ptr() != arr.data_shared_ptr()) {
|
|
||||||
encoder.add_temporary(s);
|
encoder.add_temporary(s);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
encoder.maybe_commit();
|
encoder.maybe_commit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user