MCPcopy
hub / github.com/kohya-ss/sd-scripts / apply_to

Method apply_to

networks/oft.py:69–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67 self.org_module = [org_module] # moduleにならないようにlistに入れる
68
69 def apply_to(self):
70 self.org_forward = self.org_module[0].forward
71 self.org_module[0].forward = self.forward
72
73 def get_weight(self, multiplier=None):
74 if multiplier is None:

Callers 12

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
trainMethod · 0.45
mainFunction · 0.45
apply_toMethod · 0.45
interrogateFunction · 0.45
svdFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected