提交 60cb58f3 authored 作者: Brandon T. Willard's avatar Brandon T. Willard 提交者: Brandon T. Willard

Remove superfluous comments from aesara.tensor.extra_ops

上级 db449148
...@@ -449,8 +449,6 @@ def cumprod(x, axis=None): ...@@ -449,8 +449,6 @@ def cumprod(x, axis=None):
return CumOp(axis=axis, mode="mul")(x) return CumOp(axis=axis, mode="mul")(x)
# CumsumOp and CumprodOp are for compatibility with old version,
# just in case unpickling an Aesara function with old Ops.
class CumsumOp(Op): class CumsumOp(Op):
__props__ = ("axis",) __props__ = ("axis",)
...@@ -846,7 +844,6 @@ class Bartlett(Op): ...@@ -846,7 +844,6 @@ class Bartlett(Op):
bartlett_ = Bartlett() bartlett_ = Bartlett()
# I create a function only to have the doc show well.
def bartlett(M): def bartlett(M):
""" """
An instance of this class returns the Bartlett spectral window in the An instance of this class returns the Bartlett spectral window in the
...@@ -942,7 +939,6 @@ class FillDiagonal(Op): ...@@ -942,7 +939,6 @@ class FillDiagonal(Op):
fill_diagonal_ = FillDiagonal() fill_diagonal_ = FillDiagonal()
# I create a function only to have the doc show well.
def fill_diagonal(a, val): def fill_diagonal(a, val):
""" """
Returns a copy of an array with all elements of the main diagonal set to a Returns a copy of an array with all elements of the main diagonal set to a
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论