def remove_link(self, name):
"""Remove a link that has the given name from this model
Optimizer sees ``~Chain.namedparams()`` to know which parameters should
be updated. And inside of ``namedparams()``, ``self._children`` is
called to get names of all links included in the Chain.
"""
self._children.remove(name)
评论列表
文章目录