mirror of
https://github.com/huggingface/candle.git
synced 2025-06-20 12:06:35 +00:00
feat: add silu activation function (#1706)
* feat: add silu activation function * use silu/arg in grad * update candle-nn * use node
This commit is contained in:
@ -183,7 +183,7 @@ macro_rules! ops{
|
||||
pub mod unary {
|
||||
ops!(
|
||||
cos, sin, exp, sqr, sqrt, neg, log, gelu, abs, ceil, floor, relu, round, erf, gelu_erf,
|
||||
tanh, recip
|
||||
tanh, recip, silu
|
||||
);
|
||||
}
|
||||
pub mod binary {
|
||||
|
Reference in New Issue
Block a user