MCPcopy Create free account
hub / github.com/RightNow-AI/autokernel / __init__

Method __init__

verify.py:519–523  ·  view source on GitHub ↗
(self, model: nn.Module, replacements: List[KernelReplacement])

Source from the content-addressed store, hash-verified

517 """
518
519 def __init__(self, model: nn.Module, replacements: List[KernelReplacement]):
520 self.model = model
521 self.replacements = replacements
522 self._original_modules: Dict[str, nn.Module] = {}
523 self._applied: List[str] = []
524
525 def __enter__(self) -> nn.Module:
526 for repl in self.replacements:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected