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

Method __init__

lib/model_wrapper_low.py:61–63  ·  view source on GitHub ↗
(self, model, mask)

Source from the content-addressed store, hash-verified

59
60class set_mask:
61 def __init__(self, model, mask):
62 self.model = model
63 self.mask = mask
64
65 def __enter__(self):
66 for name, module in self.model.named_modules():

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected