mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 17:31:16 +08:00
reduce vjp for all and any
This commit is contained in:
parent
7ff5c41e06
commit
be41af8954
@ -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