add urecip op to metal backend

This commit is contained in:
Baye Dieng
2023-12-28 21:50:12 +00:00
parent 1e442d4bb9
commit 3922b42c18
4 changed files with 8 additions and 3 deletions

View File

@ -165,7 +165,7 @@ macro_rules! ops{
}
pub mod unary {
ops!(cos, sin, exp, sqr, sqrt, neg, log, gelu, ceil, floor, round, erf, gelu_erf, tanh);
ops!(cos, sin, exp, sqr, sqrt, neg, log, gelu, ceil, floor, round, erf, gelu_erf, tanh, urecip);
}
pub mod binary {
ops!(add, sub, mul, div, min, max, eq, ne, le, lt, ge, gt);