提交 2068a94b authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fixes

上级 4360868c
.. _NEWS: .. _NEWS:
Update in the Trunk since the last release: Updates in the Trunk since the last release:
Documentation Documentation
* Added in the tutorial documentation on how to extend Theano. * Added in the tutorial documentation on how to extend Theano.
...@@ -8,7 +8,7 @@ Documentation ...@@ -8,7 +8,7 @@ Documentation
http://deeplearning.net/software/theano/tutorial/extending_theano.html http://deeplearning.net/software/theano/tutorial/extending_theano.html
(Frédéric B.) (Frédéric B.)
Interface change Interface changes
* theano.function does not accept duplicate inputs, so function([x, x], ...) * theano.function does not accept duplicate inputs, so function([x, x], ...)
does not work anymore. (Pascal L.) does not work anymore. (Pascal L.)
* theano.function now raises an error if some of the provided inputs are * theano.function now raises an error if some of the provided inputs are
...@@ -17,14 +17,14 @@ Interface change ...@@ -17,14 +17,14 @@ Interface change
``on_unused_input={'raise', 'warn', 'ignore'}`` to control this. ``on_unused_input={'raise', 'warn', 'ignore'}`` to control this.
(Pascal L.) (Pascal L.)
New Feature New Features
* debugprint new param ids=["CHAR","id","int",""] * debugprint new param ids=["CHAR", "id", "int", ""]
This make the identifier printed to be the python id, a uniq char, a This makes the identifier printed to be the python id, a unique char, a
unit int, or not have it printed. We changed the default to be "CHAR" unique int, or not have it printed. We changed the default to be "CHAR"
as this is more readable. as this is more readable.
* debugprint new param stop_on_name=[False,True]. If True, we don't print * debugprint new param stop_on_name=[False, True]. If True, we don't print
anything bellow an intermediate variable that have a name. Default to False. anything below an intermediate variable that has a name. Defaults to False.
* debugprint now stop printing the "|" symbol in a columns after the last input. * debugprint does not print anymore the "|" symbol in a column after the last input.
============= =============
Release Notes Release Notes
......
...@@ -510,7 +510,7 @@ def debugprint(r, prefix='', depth=-1, done=None, print_type=False, ...@@ -510,7 +510,7 @@ def debugprint(r, prefix='', depth=-1, done=None, print_type=False,
:param prefix: prefix to each line (typically some number of spaces) :param prefix: prefix to each line (typically some number of spaces)
:param depth: maximum recursion depth (Default -1 for unlimited). :param depth: maximum recursion depth (Default -1 for unlimited).
:param done: dict of Apply instances that have already been printed :param done: dict of Apply instances that have already been printed
and there associated printed ids and their associated printed ids
:param print_type: wether to print the Variable type after the other infos :param print_type: wether to print the Variable type after the other infos
:param file: file-like object to which to print :param file: file-like object to which to print
:param print_destroy_map: wether to print the op destroy_map after ofther info :param print_destroy_map: wether to print the op destroy_map after ofther info
...@@ -521,7 +521,7 @@ def debugprint(r, prefix='', depth=-1, done=None, print_type=False, ...@@ -521,7 +521,7 @@ def debugprint(r, prefix='', depth=-1, done=None, print_type=False,
int - print integer character int - print integer character
CHAR - print capital character CHAR - print capital character
"" - don't print an identifier "" - don't print an identifier
:param stop_on_name: When True, if a node in the graph have a name, :param stop_on_name: When True, if a node in the graph has a name,
we don't print anything below it. we don't print anything below it.
""" """
......
...@@ -46,7 +46,7 @@ def debugprint(obj, depth=-1, print_type=False, ...@@ -46,7 +46,7 @@ def debugprint(obj, depth=-1, print_type=False,
int - print integer character int - print integer character
CHAR - print capital character CHAR - print capital character
"" - don't print an identifier "" - don't print an identifier
:param stop_on_name: When True, if a node in the graph have a name, :param stop_on_name: When True, if a node in the graph has a name,
we don't print anything below it. we don't print anything below it.
:returns: string if `file` == 'str', else file arg :returns: string if `file` == 'str', else file arg
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论