MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / hyperparameters

Method hyperparameters

numpy_ml/neural_nets/layers/layers.py:3655–3667  ·  view source on GitHub ↗

Return a dictionary containing the layer hyperparameters.

(self)

Source from the content-addressed store, hash-verified

3653
3654 @property
3655 def hyperparameters(self):
3656 """Return a dictionary containing the layer hyperparameters."""
3657 return {
3658 "layer": "RNNCell",
3659 "init": self.init,
3660 "n_in": self.n_in,
3661 "n_out": self.n_out,
3662 "act_fn": str(self.act_fn),
3663 "optimizer": {
3664 "cache": self.optimizer.cache,
3665 "hyperparameters": self.optimizer.hyperparameters,
3666 },
3667 }
3668
3669 def forward(self, Xt):
3670 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected