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

Method freeze

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

Source from the content-addressed store, hash-verified

46 return comps
47
48 def freeze(self):
49 self.trainable = False
50 for c in self.components:
51 c.freeze()
52
53 def unfreeze(self):
54 self.trainable = True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected