mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-24 14:58:17 +08:00
reduce vjp for all and any (#2193)
This commit is contained in:
@@ -3548,7 +3548,7 @@ std::vector<array> Reduce::vjp(
|
|||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
throw std::runtime_error("Reduce type VJP not yet implemented.");
|
return {zeros_like(in, stream())};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user