(self, dim_in: int, dim_out: int, bias: bool = True)
| 135 | """ |
| 136 | |
| 137 | def __init__(self, dim_in: int, dim_out: int, bias: bool = True): |
| 138 | super().__init__() |
| 139 | |
| 140 | self.proj = nn.Linear(dim_in, dim_out * 2, bias=bias) |
| 141 | self.activation = nn.SiLU() |
| 142 | |
| 143 | def forward(self, hidden_states): |
| 144 | hidden_states = self.proj(hidden_states) |