提交 7635493a 编写于 作者: L liuyibing01

Remove unused code

上级 feb8a083
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册