diff --git a/python/__pycache__/tensor.cpython-38.pyc b/python/__pycache__/tensor.cpython-38.pyc new file mode 100644 index 0000000..eedd4bd Binary files /dev/null and b/python/__pycache__/tensor.cpython-38.pyc differ diff --git a/python/__pycache__/tensor.cpython-39.pyc b/python/__pycache__/tensor.cpython-39.pyc index 53e9673..16c0798 100644 Binary files a/python/__pycache__/tensor.cpython-39.pyc and b/python/__pycache__/tensor.cpython-39.pyc differ diff --git a/python/tensor.py b/python/tensor.py index e9a7d0d..7e88fcd 100644 --- a/python/tensor.py +++ b/python/tensor.py @@ -46,9 +46,6 @@ class Tensor: return value - def __del__(self): - self.lib.free_tensor(self.tensor) - def shape(self): return f"Tensor(shape={self.shape})"