From 5a20e4b28fafe1ed2b6f5973f42464a7bd08e488 Mon Sep 17 00:00:00 2001 From: Jiacheng Huang Date: Tue, 22 Oct 2024 15:45:50 +0800 Subject: [PATCH] Prefix tensor names with `_ninetoothed_` --- src/ninetoothed/tensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ninetoothed/tensor.py b/src/ninetoothed/tensor.py index 68befa8..c5b9203 100644 --- a/src/ninetoothed/tensor.py +++ b/src/ninetoothed/tensor.py @@ -21,7 +21,7 @@ def __init__( self.dtype = dtype - self.name = f"tensor_{type(self).num_instances}" + self.name = f"_ninetoothed_tensor_{type(self).num_instances}" if ndim is not None: self.shape = (Symbol(self.size_string(i)) for i in range(ndim))