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

Method hyperparameters

numpy_ml/neural_nets/layers/layers.py:1700–1712  ·  view source on GitHub ↗

Return a dictionary containing the layer hyperparameters.

(self)

Source from the content-addressed store, hash-verified

1698
1699 @property
1700 def hyperparameters(self):
1701 """Return a dictionary containing the layer hyperparameters."""
1702 return {
1703 "layer": "LayerNorm1D",
1704 "act_fn": None,
1705 "n_in": self.n_in,
1706 "n_out": self.n_out,
1707 "epsilon": self.epsilon,
1708 "optimizer": {
1709 "cache": self.optimizer.cache,
1710 "hyperparameters": self.optimizer.hyperparameters,
1711 },
1712 }
1713
1714 def forward(self, X, retain_derived=True):
1715 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected