提交 4bae84c6 authored 作者: Frederic's avatar Frederic

Delete class that isn't used and cause flake8 errors

上级 a793ab8d
...@@ -1007,19 +1007,6 @@ class LocalOptGroup(LocalOptimizer): ...@@ -1007,19 +1007,6 @@ class LocalOptGroup(LocalOptimizer):
opt.add_requirements(fgraph) opt.add_requirements(fgraph)
class _LocalOpKeyOptGroup(LocalOptGroup):
"""WRITEME"""
def __init__(self, optimizers):
if any(not hasattr(opt, 'op_key'), optimizers):
raise TypeError(
"All LocalOptimizers passed here must have an op_key method.")
CompositeLocalOptimizer.__init__(self, optimizers)
def op_key(self):
return [opt.op_key() for opt in self.opts]
class OpSub(LocalOptimizer): class OpSub(LocalOptimizer):
"""WRITEME """WRITEME
Replaces the application of a certain op by the application of Replaces the application of a certain op by the application of
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论