reduce vjp for all and any (#2193)

This commit is contained in:
Awni Hannun
2025-05-16 08:38:49 -07:00
committed by GitHub
parent 7d4b378952
commit 48ef3e74e2

View File

@@ -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())};
}
}