提交 c679003d 编写于 作者: Q qingqing01 提交者: GitHub

Merge pull request #1471 from helinwang/fix_gm

fix parameters.append_gradient_machine
...@@ -224,7 +224,8 @@ class Parameters(object): ...@@ -224,7 +224,8 @@ class Parameters(object):
except ValueError: except ValueError:
# If no such parameter in gradient machine, then don't copy # If no such parameter in gradient machine, then don't copy
pass pass
self.__gradient_machines__.append(gradient_machine)
self.__gradient_machines__.append(gradient_machine)
def __get_parameter_in_gradient_machine__(gradient_machine, name): def __get_parameter_in_gradient_machine__(gradient_machine, name):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册