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

Method hyperparameters

numpy_ml/neural_nets/layers/layers.py:901–910  ·  view source on GitHub ↗

Return a dictionary containing the layer hyperparameters.

(self)

Source from the content-addressed store, hash-verified

899
900 @property
901 def hyperparameters(self):
902 """Return a dictionary containing the layer hyperparameters."""
903 return {
904 "layer": "Flatten",
905 "keep_dim": self.keep_dim,
906 "optimizer": {
907 "cache": self.optimizer.cache,
908 "hyperparameters": self.optimizer.hyperparameters,
909 },
910 }
911
912 def forward(self, X, retain_derived=True):
913 r"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected