Remove unused code

This commit is contained in:
liuyibing01 2020-02-24 01:52:52 +00:00
parent feb8a08325
commit 7635493a0a
1 changed files with 0 additions and 7 deletions

View File

@ -113,13 +113,6 @@ class WeightNormWrapper(dg.Layer):
return getattr(
object.__getattribute__(self, "_sub_layers")["layer"], key)
def __setattr__(self, name, value):
if name == "_param_attr" or name == "_bias_attr":
print(name)
setattr(self.layer, name, value)
else:
super().__setattr__(name, value)
def Linear(input_dim,
output_dim,