提交 82943f56 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fixes

上级 eaaf9218
......@@ -33,9 +33,9 @@ New Features
Sparse Sandbox Addition (Not reviewed/documented/tested, but used by some people)
* They are all in the theano.sparse.sandbox.sp2 module
* Op class: Cast, Poisson, Multinomial, EliminateZeros, Sum, Binomial
* Op class: SamplingDot, SamplingDotCsr(inserted automatically)
* Op function: structured_sigmoid, structured_exp, structured_pow, structured_minimum,
* Op class: StructuredAddSV, StrucutedAddSVCSR(inserted automatically)
* Op class: SamplingDot, SamplingDotCsr (inserted automatically)
* Op function: structured_sigmoid, structured_exp, structured_pow, structured_minimum
* Op class: StructuredAddSV, StrucutedAddSVCSR (inserted automatically)
* opt: local_sampling_dot_csr, local_structured_add_s_v
Internal changes
......
......@@ -317,13 +317,13 @@ bindings to work only on Python files.
Emacs
~~~~~
There is an **excellent** system to configure emacs for python:
There is an **excellent** system to configure emacs for Python:
`emacs-for-python
<https://github.com/gabrielelanaro/emacs-for-python>`_. It gathers many
emacs config into one, and modifies them to behave together nicely. You
can use it to check for pep8 compliance and for python syntax errors.
can use it to check for pep8 compliance and for Python syntax errors.
To install it on linux, you can do like this:
To install it on Linux, you can do like this:
.. code-block:: bash
......
......@@ -46,7 +46,7 @@ def _atexit_print_fn():
if len(_atexit_print_list) > 1:
# Make a global profile
cum = copy.copy(_atexit_print_list[0])
cum.message = "Sum of all printed profile at exit"
cum.message = "Sum of all printed profiles at exit"
for ps in _atexit_print_list[1:]:
# for ps in [ps for ps in _atexit_print_list[1:]
# if not isinstance(ps, ScanProfileStats)]:
......@@ -202,7 +202,7 @@ class ProfileStats(object):
if op_flops:
flops_msg = ' <MFlops/s>'
print ('\nHACK WARNING: we print the flops for some OP, but the'
' logic don\' always work. You need to know the internal'
' logic does not always work. You need to know the internal'
' of Theano to make it work correctly.'
' Otherwise don\'t use!')
print ('\nOp-wise summary:'
......
......@@ -415,7 +415,7 @@ class CLinker(link.Linker):
# list(env.variables)
self.variables = graph.variables(self.inputs, self.outputs)
# The orphans field is listified to ensure a consistent order.
#list(env.orphans.difference(self.outputs))
#list(env.orphans.difference(self.outputs))
self.orphans = list(r for r in self.variables
if isinstance(r, graph.Value) and
r not in self.inputs)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论