提交 b7622fd6 authored 作者: sentient07's avatar sentient07

Removed a wrong __props__

上级 a9b9dda7
......@@ -48,10 +48,6 @@ def MyConstant(data):
class MyOp(Op):
__props__ = ("nin", "name", "vmap", "dmap", "nout",
"destroyhandler_tolerate_same",
"destroyhandler_tolerate_aliased")
def __init__(self, nin, name, vmap=None, dmap=None, nout=1,
destroyhandler_tolerate_same=None,
destroyhandler_tolerate_aliased=None):
......
......@@ -1717,7 +1717,7 @@ class All(CAReduce):
Equivalent to `CAReduce(scalar.and\_, axis=axis)`.
"""
__props__ = ("axis")
__props__ = ("axis",)
def __init__(self, axis=None):
CAReduce.__init__(self, scalar.and_, axis)
......@@ -1750,7 +1750,7 @@ class Any(CAReduce):
Equivalent to `CAReduce(scalar.or\_, axis=axis)`.
"""
__props__ = ("axis")
__props__ = ("axis", )
def __init__(self, axis=None):
CAReduce.__init__(self, scalar.or_, axis)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论