MCPcopy Create free account
hub / github.com/boyiwei/alignment-attribution-code / __init__

Method __init__

lib/model_wrapper.py:76–78  ·  view source on GitHub ↗
(self, model, mask)

Source from the content-addressed store, hash-verified

74
75class set_mask:
76 def __init__(self, model, mask):
77 self.model = model
78 self.mask = mask
79
80 def __enter__(self):
81 for name, module in self.model.named_modules():

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected