提交 44af66d8 authored 作者: Pierre Luc Carrier's avatar Pierre Luc Carrier

Removed useless __init__() in first C Op example

上级 d15c964b
...@@ -425,9 +425,6 @@ storage with the right shape and number of dimensions. ...@@ -425,9 +425,6 @@ storage with the right shape and number of dimensions.
class VectorTimesScalar(gof.Op): class VectorTimesScalar(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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论