MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / __del__

Method __del__

python/thundersvm/thundersvm.py:87–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

85 # thundersvm.set_memory_size(c_void_p(self.model), self.max_mem_size)
86
87 def __del__(self):
88 if self.model is not None:
89 thundersvm.model_free(c_void_p(self.model))
90
91 def fit(self, X, y):
92 if self.model is not None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected