提交 6c7da0d4 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fixes

上级 f0d6f48e
......@@ -397,8 +397,8 @@ have to be jointly optimized explicitly in the code.)
SciPy
-----
We can wrap SciPy function in Theano. But Scipy is an optional dependency.
Here is some code that allow to make the op Optional:
We can wrap SciPy functions in Theano. But SciPy is an optional dependency.
Here is some code that allows the Op to be optional:
.. code-block:: python
......@@ -413,17 +413,19 @@ Here is some code that allow to make the op Optional:
...
def make_node(self, x):
assert imported_scipy, (
"Scipy not available. Scipy is needed for the SomeOp op.")
"SciPy not available. SciPy is needed for the SomeOp op.")
...
from nose.plugins.skip import SkipTest
class test_Solve(utt.InferShapeTester):
class test_SomeOp(utt.InferShapeTester):
...
def test_infer_shape(self):
if not imported_scipy:
raise SkipTest("Scipy needed for the Cholesky op.")
raise SkipTest("SciPy needed for the SomeOp op.")
...
Random number in tests
----------------------
Random numbers in tests
-----------------------
Making tests errors more reproducible is a good practice. To make your
tests more reproducible, you need a way to get the same random
......
......@@ -560,7 +560,7 @@ conv3D = Conv3D()
:param b: bias, shape == (W.shape[0],)
:param d: strides when moving the filter over the input(dx, dy, dt)
:note: The order of dimensions do not correspond with the one in `conv2d`.
:note: The order of dimensions does not correspond to the one in `conv2d`.
This is for optimization.
"""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论