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