MCPcopy Create free account
hub / github.com/MatrixTeam-AI/RAIN / unlink

Method unlink

src/modeling/engine_model.py:261–277  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

259 return True
260
261 def unlink(self):
262
263 if not(self.extra_lock is None):
264 self.extra_lock.acquire()
265 self.ctx.push()
266 try:
267 for name in self.input_names:
268 self.context.set_tensor_address(name, int(self.dinputs[name]))
269 except:
270 self.ctx.pop()
271 if not(self.extra_lock is None):
272 self.extra_lock.release()
273 return False
274 self.ctx.pop()
275 if not(self.extra_lock is None):
276 self.extra_lock.release()
277 return True
278

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected