Fix del function
This commit is contained in:
parent
dbc45488ff
commit
d2c8262966
3 changed files with 0 additions and 3 deletions
BIN
python/__pycache__/tensor.cpython-38.pyc
Normal file
BIN
python/__pycache__/tensor.cpython-38.pyc
Normal file
Binary file not shown.
Binary file not shown.
|
|
@ -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})"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue