提交 69894eb1 authored 作者: Iban Harlouchet's avatar Iban Harlouchet

__props__ for theano/tensor/fourier.py

上级 cf2b6b23
...@@ -34,15 +34,7 @@ class Fourier(gof.Op): ...@@ -34,15 +34,7 @@ class Fourier(gof.Op):
input points, A[(n-1)/2] contains the largest positive frequency, while input points, A[(n-1)/2] contains the largest positive frequency, while
A[(n+1)/2] contains the largest negative frequency. A[(n+1)/2] contains the largest negative frequency.
""" """
__props__ = ()
def __eq__(self, other):
return type(self) == type(other)
def __hash__(self):
return hash(self.__class__)
def __str__(self):
return self.__class__.__name__
def make_node(self, a, n, axis): def make_node(self, a, n, axis):
a = tensor.as_tensor_variable(a) a = tensor.as_tensor_variable(a)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论