提交 238b38d1 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Remove deprecated old name.

上级 118aad4a
...@@ -71,7 +71,7 @@ from theano.printing import pprint, pp ...@@ -71,7 +71,7 @@ from theano.printing import pprint, pp
from theano.scan_module import scan, map, reduce, foldl, foldr, clone from theano.scan_module import scan, map, reduce, foldl, foldr, clone
from theano.updates import Updates, OrderedUpdates from theano.updates import OrderedUpdates
# scan_module import above initializes tensor and scalar making these imports redundant # scan_module import above initializes tensor and scalar making these imports redundant
#import tensor #import tensor
......
...@@ -87,8 +87,3 @@ class OrderedUpdates(OrderedDict): ...@@ -87,8 +87,3 @@ class OrderedUpdates(OrderedDict):
rval.update(other) rval.update(other)
rval.update(self) rval.update(self)
return rval return rval
def Updates(*key, **kwargs):
warnings.warn("Updates is deprecated. Switch to OrderedUpdates.")
return OrderedUpdates(*key, **kwargs)
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论