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

Method hyperparameters

numpy_ml/neural_nets/layers/layers.py:4307–4317  ·  view source on GitHub ↗

Return a dictionary containing the layer hyperparameters.

(self)

Source from the content-addressed store, hash-verified

4305
4306 @property
4307 def hyperparameters(self):
4308 """Return a dictionary containing the layer hyperparameters."""
4309 return {
4310 "layer": "LSTM",
4311 "init": self.init,
4312 "n_in": self.n_in,
4313 "n_out": self.n_out,
4314 "act_fn": str(self.act_fn),
4315 "gate_fn": str(self.gate_fn),
4316 "optimizer": self.cell.hyperparameters["optimizer"],
4317 }
4318
4319 def forward(self, X):
4320 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected