From 11471a93e1e849bd84bb799da25c2530dbddba43 Mon Sep 17 00:00:00 2001 From: ankitaggarwal23 Date: Thu, 15 Apr 2021 16:47:24 +0530 Subject: [PATCH] Fixed typo on line 75 of nni/nas/pytorch/mutables.py --- nni/nas/pytorch/mutables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nni/nas/pytorch/mutables.py b/nni/nas/pytorch/mutables.py index ff91c8f8fe..7fbb655e51 100644 --- a/nni/nas/pytorch/mutables.py +++ b/nni/nas/pytorch/mutables.py @@ -72,7 +72,7 @@ def name(self): """ After the search space is parsed, it will be the module name of the mutable. """ - return self._name if hasattr(self, "_name") else "_key" + return self._name if hasattr(self, "_name") else self._key @name.setter def name(self, name):