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

Method hyperparameters

numpy_ml/neural_nets/layers/layers.py:675–684  ·  view source on GitHub ↗

Return a dictionary containing the layer hyperparameters.

(self)

Source from the content-addressed store, hash-verified

673
674 @property
675 def hyperparameters(self):
676 """Return a dictionary containing the layer hyperparameters."""
677 return {
678 "layer": "Sum",
679 "act_fn": str(self.act_fn),
680 "optimizer": {
681 "cache": self.optimizer.cache,
682 "hyperparameters": self.optimizer.hyperparameters,
683 },
684 }
685
686 def forward(self, X, retain_derived=True):
687 r"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected