提交 603ed743 authored 作者: Iban Harlouchet's avatar Iban Harlouchet

__props__ to theano/tensor/nnet/ConvGrad3D.py

上级 e28a57c3
...@@ -12,11 +12,7 @@ from theano.gradient import DisconnectedType ...@@ -12,11 +12,7 @@ from theano.gradient import DisconnectedType
class ConvGrad3D(theano.Op): class ConvGrad3D(theano.Op):
""" Gradient of Conv3D with respect to W """ """ Gradient of Conv3D with respect to W """
def __eq__(self, other): __props__ = ()
return type(self) == type(other)
def __hash__(self):
return hash(type(self))
def c_code_cache_version(self): def c_code_cache_version(self):
return (1,) return (1,)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论