mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-18 10:26:56 +08:00
fix shapeless export (#2148)
This commit is contained in:
@@ -470,6 +470,9 @@ bool FunctionTable::match(
|
||||
if (x.dtype() != y.dtype()) {
|
||||
return false;
|
||||
}
|
||||
if (x.ndim() != y.ndim()) {
|
||||
return false;
|
||||
}
|
||||
if (!shapeless && x.shape() != y.shape()) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user