提交 013aacbc authored 作者: Pierre Luc Carrier's avatar Pierre Luc Carrier

Removed useleff __init__() from second example

上级 44af66d8
...@@ -545,9 +545,6 @@ C code. ...@@ -545,9 +545,6 @@ C code.
class VectorTimesVector(gof.Op): class VectorTimesVector(gof.Op):
__props__ = () __props__ = ()
def __init__(self, **kwargs):
gof.Op.__init__(self, **kwargs)
def make_node(self, x, y): def make_node(self, x, y):
# Validate the inputs' type # Validate the inputs' type
if x.type.ndim != 1: if x.type.ndim != 1:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论