提交 ad6a0499 authored 作者: Chinnadhurai Sankar's avatar Chinnadhurai Sankar 提交者: Chinnadhurai Sankar

doc strings

上级 958efe87
...@@ -551,7 +551,7 @@ class CLinker(link.Linker): ...@@ -551,7 +551,7 @@ class CLinker(link.Linker):
def accept(self, fgraph, no_recycling=None): def accept(self, fgraph, no_recycling=None):
""" """
Update/tie the self with the fgraph Associate linker with fgraph
""" """
if no_recycling is None: if no_recycling is None:
...@@ -1740,6 +1740,9 @@ class OpWiseCLinker(link.LocalLinker): ...@@ -1740,6 +1740,9 @@ class OpWiseCLinker(link.LocalLinker):
self.schedule = schedule self.schedule = schedule
def accept(self, fgraph, no_recycling=None): def accept(self, fgraph, no_recycling=None):
"""
Associate linker with fgraph
"""
if no_recycling is None: if no_recycling is None:
no_recycling = [] no_recycling = []
if self.fgraph is not None and self.fgraph is not fgraph: if self.fgraph is not None and self.fgraph is not fgraph:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论