MCPcopy Create free account
hub / github.com/AMAP-ML/Eevee / trainable_modules

Method trainable_modules

models/training.py:193–195  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

191
192
193 def trainable_modules(self):
194 trainable_modules = filter(lambda p: p.requires_grad, self.parameters())
195 return trainable_modules
196
197
198 def to(self, *args, **kwargs):

Callers 1

launch_training_taskFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected