提交 551b590c authored 作者: Razvan Pascanu's avatar Razvan Pascanu

make scan a pure op since it doesn't have a perform anymore

上级 09f08136
...@@ -23,7 +23,7 @@ from theano.compile import function, Param, Out ...@@ -23,7 +23,7 @@ from theano.compile import function, Param, Out
from theano import compile from theano import compile
from theano import gradient from theano import gradient
from theano.gof.python25 import any from theano.gof.python25 import any
from theano.gof import Op, Apply from theano.gof import PureOp, Apply
from theano import gof from theano import gof
from theano.tensor import TensorType from theano.tensor import TensorType
from theano import tensor from theano import tensor
...@@ -38,7 +38,7 @@ from scan_utils import safe_new ...@@ -38,7 +38,7 @@ from scan_utils import safe_new
_logger = logging.getLogger('theano.scan_module.scan_op') _logger = logging.getLogger('theano.scan_module.scan_op')
class Scan(Op): class Scan(PureOp):
# #
# OLD DOCUMENTATION CAN BE FOUND NEAR REVISION 2581 # OLD DOCUMENTATION CAN BE FOUND NEAR REVISION 2581
# #
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论