aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/nn/rewrite/core/utils/numpy_tfrecord.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mlia/nn/rewrite/core/utils/numpy_tfrecord.py')
-rw-r--r--src/mlia/nn/rewrite/core/utils/numpy_tfrecord.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mlia/nn/rewrite/core/utils/numpy_tfrecord.py b/src/mlia/nn/rewrite/core/utils/numpy_tfrecord.py
index ac3e875..2141003 100644
--- a/src/mlia/nn/rewrite/core/utils/numpy_tfrecord.py
+++ b/src/mlia/nn/rewrite/core/utils/numpy_tfrecord.py
@@ -63,9 +63,6 @@ class NumpyTFWriter:
def __exit__(self, type, value, traceback):
self.close()
- def __del__(self):
- self.close()
-
def write(self, array_dict):
type_map = {n: str(a.dtype.name) for n, a in array_dict.items()}
self.type_map.update(type_map)