MCPcopy Create free account
hub / github.com/LUMIA-Group/MemoryDecoder / break_out

Method break_out

knn_utils/saveEmbedMulti.py:209–214  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

207 self.hook_handles.append(handle)
208
209 def break_out(self):
210 for h in self.hook_handles:
211 h.remove()
212 if self.model is not None and self.model.broken_into is not None:
213 self.model.forward = self.original_forward_func
214 self.model.broken_into = None
215
216 def get_metrics(self):
217 return {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected