| 65 | |
| 66 | @config_class |
| 67 | class Config(BaseLayer.Config): |
| 68 | input_dim: Required[int] = REQUIRED # Input dimension. |
| 69 | linear: InstantiableConfig = Linear.default_config() |
| 70 | dropout: InstantiableConfig = Dropout.default_config() |
| 71 | activation: str = "jnp.tanh" |
| 72 | |
| 73 | def __init__(self, cfg: Config, *, parent: Optional[Module]): |
| 74 | super().__init__(cfg, parent=parent) |
nothing calls this directly
no test coverage detected