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

Method hyperparameters

numpy_ml/neural_nets/layers/layers.py:4129–4138  ·  view source on GitHub ↗

Return a dictionary containing the layer hyperparameters.

(self)

Source from the content-addressed store, hash-verified

4127
4128 @property
4129 def hyperparameters(self):
4130 """Return a dictionary containing the layer hyperparameters."""
4131 return {
4132 "layer": "RNN",
4133 "init": self.init,
4134 "n_in": self.n_in,
4135 "n_out": self.n_out,
4136 "act_fn": str(self.act_fn),
4137 "optimizer": self.cell.hyperparameters["optimizer"],
4138 }
4139
4140 def forward(self, X):
4141 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected