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

Method hyperparameters

numpy_ml/neural_nets/layers/layers.py:787–796  ·  view source on GitHub ↗

Return a dictionary containing the layer hyperparameters.

(self)

Source from the content-addressed store, hash-verified

785
786 @property
787 def hyperparameters(self):
788 """Return a dictionary containing the layer hyperparameters."""
789 return {
790 "layer": "Multiply",
791 "act_fn": str(self.act_fn),
792 "optimizer": {
793 "cache": self.optimizer.cache,
794 "hyperparameters": self.optimizer.hyperparameters,
795 },
796 }
797
798 def forward(self, X, retain_derived=True):
799 r"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected