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

Method hyperparameters

numpy_ml/neural_nets/layers/layers.py:1514–1526  ·  view source on GitHub ↗

Return a dictionary containing the layer hyperparameters.

(self)

Source from the content-addressed store, hash-verified

1512
1513 @property
1514 def hyperparameters(self):
1515 """Return a dictionary containing the layer hyperparameters."""
1516 return {
1517 "layer": "LayerNorm2D",
1518 "act_fn": None,
1519 "in_ch": self.in_ch,
1520 "out_ch": self.out_ch,
1521 "epsilon": self.epsilon,
1522 "optimizer": {
1523 "cache": self.optimizer.cache,
1524 "hyperparameters": self.optimizer.hyperparameters,
1525 },
1526 }
1527
1528 def forward(self, X, retain_derived=True):
1529 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected