Return a dictionary containing the layer hyperparameters.
(self)
| 3920 | |
| 3921 | @property |
| 3922 | def hyperparameters(self): |
| 3923 | """Return a dictionary containing the layer hyperparameters.""" |
| 3924 | return { |
| 3925 | "layer": "LSTMCell", |
| 3926 | "init": self.init, |
| 3927 | "n_in": self.n_in, |
| 3928 | "n_out": self.n_out, |
| 3929 | "act_fn": str(self.act_fn), |
| 3930 | "gate_fn": str(self.gate_fn), |
| 3931 | "optimizer": { |
| 3932 | "cache": self.optimizer.cache, |
| 3933 | "hyperparameters": self.optimizer.hyperparameters, |
| 3934 | }, |
| 3935 | } |
| 3936 | |
| 3937 | def forward(self, Xt): |
| 3938 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected