提交 d553d6a9 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

depricated -> deprecated

上级 f97e6098
...@@ -88,7 +88,7 @@ Deprecation (will be removed in Theano 0.5, warning generated if you use them): ...@@ -88,7 +88,7 @@ Deprecation (will be removed in Theano 0.5, warning generated if you use them):
* scan interface change: * scan interface change:
* The use of `return_steps` for specifying how many entries of the output * The use of `return_steps` for specifying how many entries of the output
scan has been depricated scan has been deprecated
* The same thing can be done by applying a subtensor on the output * The same thing can be done by applying a subtensor on the output
return by scan to select a certain slice return by scan to select a certain slice
......
...@@ -88,7 +88,7 @@ Deprecation (will be removed in Theano 0.5, warning generated if you use them): ...@@ -88,7 +88,7 @@ Deprecation (will be removed in Theano 0.5, warning generated if you use them):
* scan interface change: * scan interface change:
* The use of `return_steps` for specifying how many entries of the output * The use of `return_steps` for specifying how many entries of the output
scan has been depricated scan has been deprecated
* The same thing can be done by applying a subtensor on the output * The same thing can be done by applying a subtensor on the output
return by scan to select a certain slice return by scan to select a certain slice
......
...@@ -389,10 +389,10 @@ def scan(fn, ...@@ -389,10 +389,10 @@ def scan(fn,
for i in xrange(n_outs): for i in xrange(n_outs):
if outs_info[i] is not None: if outs_info[i] is not None:
if isinstance(outs_info[i], dict): if isinstance(outs_info[i], dict):
# DEPRICATED : # DEPRECATED :
if outs_info[i].get('return_steps', None): if outs_info[i].get('return_steps', None):
_logger.warning(("Using `return_steps` has been " _logger.warning(("Using `return_steps` has been "
"depricated. Simply select the entries you " "deprecated. Simply select the entries you "
"need using a subtensor. Scan will optimize " "need using a subtensor. Scan will optimize "
"memory consumption, so do not worry about " "memory consumption, so do not worry about "
"that.")) "that."))
......
...@@ -724,8 +724,8 @@ class T_Scan(unittest.TestCase): ...@@ -724,8 +724,8 @@ class T_Scan(unittest.TestCase):
# assert that it was done in place # assert that it was done in place
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Old way of doing inplace operations is depricated .. tests don't # Old way of doing inplace operations is deprecated .. tests don't
# make sense anymroe # make sense anymore.
##assert numpy.allclose( theano_x0 , vu2) ##assert numpy.allclose( theano_x0 , vu2)
## assert numpy.allclose( theano_x1 , vu1) ## assert numpy.allclose( theano_x1 , vu1)
...@@ -794,8 +794,8 @@ class T_Scan(unittest.TestCase): ...@@ -794,8 +794,8 @@ class T_Scan(unittest.TestCase):
# inplace !! # inplace !!
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Old way of doing inplace operations is depricated .. tests don't # Old way of doing inplace operations is deprecated .. tests don't
# make sense anymroe # make sense anymore.
#assert not numpy.allclose( theano_x0 , vu2[1:4]) #assert not numpy.allclose( theano_x0 , vu2[1:4])
#assert numpy.allclose( theano_x1 , vu1[0:3]) #assert numpy.allclose( theano_x1 , vu1[0:3])
...@@ -1552,7 +1552,7 @@ class T_Scan(unittest.TestCase): ...@@ -1552,7 +1552,7 @@ class T_Scan(unittest.TestCase):
This unit test addresses the bug fix of changeset ba7157e95cb1. This unit test addresses the bug fix of changeset ba7157e95cb1.
!!! test lost some of its meaning because return_steps has been !!! test lost some of its meaning because return_steps has been
depricated !!! deprecated !!!
""" """
a = theano.tensor.vector() a = theano.tensor.vector()
init_a = theano.tensor.vector() init_a = theano.tensor.vector()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论