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

Method components

numpy_ml/neural_nets/modules/modules.py:41–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

39
40 @property
41 def components(self):
42 comps = []
43 for c in self.hyperparameters["component_ids"]:
44 if hasattr(self, c):
45 comps.append(getattr(self, c))
46 return comps
47
48 def freeze(self):
49 self.trainable = False

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected