We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aae4307 commit 2ca266cCopy full SHA for 2ca266c
backends/candle/src/layers/linear.rs
@@ -6,8 +6,7 @@ use serde::Deserialize;
6
#[serde(rename_all = "lowercase")]
7
pub enum HiddenAct {
8
Gelu,
9
- #[serde(alias = "gelu_new")]
10
- #[serde(alias = "gelu_pytorch_tanh")]
+ #[serde(alias = "gelu_new", alias = "gelu_pytorch_tanh")]
11
NewGelu,
12
Relu,
13
Silu,
0 commit comments