From bce790edb8abc9cf757a88c1557836f78d6cea32 Mon Sep 17 00:00:00 2001 From: Taekyung Heo <7621438+TaekyungHeo@users.noreply.github.com> Date: Thu, 9 May 2024 18:10:21 -0400 Subject: [PATCH] Fix pyright errors in src/converter/pytorch_converter.py --- src/converter/pytorch_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/converter/pytorch_converter.py b/src/converter/pytorch_converter.py index 2652ca3e..7d49c7c4 100644 --- a/src/converter/pytorch_converter.py +++ b/src/converter/pytorch_converter.py @@ -81,7 +81,7 @@ def initialize_attributes(self) -> None: self.pytorch_time = None self.pytorch_start_ts = None self.pytorch_finish_ts = None - self.pytorch_nodes = None + self.pytorch_nodes = dict() self.pytorch_root_nids = [] # Initialize node mapping dictionaries