提交 bf180577 编写于 作者: X Xin Pan

fix

test=develop
上级 e395f2c6
...@@ -35,7 +35,7 @@ class Layer(core.Layer): ...@@ -35,7 +35,7 @@ class Layer(core.Layer):
def clear_gradients(self): def clear_gradients(self):
for p in self.parameters(): for p in self.parameters():
p._clear() p._clear_gradient()
def _build_once(self, inputs): def _build_once(self, inputs):
pass pass
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册