mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-17 01:08:12 +08:00
remove unnecessary tempspec
Co-authored-by: Awni Hannun <awni.hannun@gmail.com>
This commit is contained in:
@@ -131,7 +131,6 @@ struct LogAddExp {
|
|||||||
: (maxval + log1p(metal::exp(minval - maxval)));
|
: (maxval + log1p(metal::exp(minval - maxval)));
|
||||||
};
|
};
|
||||||
|
|
||||||
template <>
|
|
||||||
complex64_t operator()(complex64_t x, complex64_t y) {
|
complex64_t operator()(complex64_t x, complex64_t y) {
|
||||||
if (metal::isnan(x.real) || metal::isnan(x.imag) || metal::isnan(y.real) ||
|
if (metal::isnan(x.real) || metal::isnan(x.imag) || metal::isnan(y.real) ||
|
||||||
metal::isnan(y.imag)) {
|
metal::isnan(y.imag)) {
|
||||||
|
Reference in New Issue
Block a user