Unverified Commit 336d671c authored by Ankit Aggarwal's avatar Ankit Aggarwal Committed by GitHub
Browse files

Fixed typo on line 75 of nni/nas/pytorch/mutables.py (#3538)

parent 1278c439
...@@ -72,7 +72,7 @@ class Mutable(nn.Module): ...@@ -72,7 +72,7 @@ class Mutable(nn.Module):
""" """
After the search space is parsed, it will be the module name of the mutable. 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 @name.setter
def name(self, name): def name(self, name):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment