提交 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):
* scan interface change:
* 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
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):
* scan interface change:
* 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
return by scan to select a certain slice
......
......@@ -389,10 +389,10 @@ def scan(fn,
for i in xrange(n_outs):
if outs_info[i] is not None:
if isinstance(outs_info[i], dict):
# DEPRICATED :
# DEPRECATED :
if outs_info[i].get('return_steps', None):
_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 "
"memory consumption, so do not worry about "
"that."))
......
......@@ -724,8 +724,8 @@ class T_Scan(unittest.TestCase):
# assert that it was done in place
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Old way of doing inplace operations is depricated .. tests don't
# make sense anymroe
# Old way of doing inplace operations is deprecated .. tests don't
# make sense anymore.
##assert numpy.allclose( theano_x0 , vu2)
## assert numpy.allclose( theano_x1 , vu1)
......@@ -794,8 +794,8 @@ class T_Scan(unittest.TestCase):
# inplace !!
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Old way of doing inplace operations is depricated .. tests don't
# make sense anymroe
# Old way of doing inplace operations is deprecated .. tests don't
# make sense anymore.
#assert not numpy.allclose( theano_x0 , vu2[1:4])
#assert numpy.allclose( theano_x1 , vu1[0:3])
......@@ -1552,7 +1552,7 @@ class T_Scan(unittest.TestCase):
This unit test addresses the bug fix of changeset ba7157e95cb1.
!!! test lost some of its meaning because return_steps has been
depricated !!!
deprecated !!!
"""
a = theano.tensor.vector()
init_a = theano.tensor.vector()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论