提交 45d67974 authored 作者: Frederic's avatar Frederic

Doc typo

上级 0a8c40bb
......@@ -786,6 +786,6 @@ Note
* See :ref:`example_other_random` to know how to handle random numbers
on the GPU.
* The mode `FAST_COMPILE` disable c code, so also disable the GPU. You
* The mode `FAST_COMPILE` disables C code, so also disables the GPU. You
can use the Theano flag optimizer='fast_compile' to speed up
compilatino and keeping the GPU.
compilation and keep the GPU.
......@@ -577,7 +577,6 @@ class Function(object):
delete_updates : boolean
If True, Copied function will not have updates.
name : string
If provided, will be the name of the new
Function. Otherwise, it will be old + " copy"
......
......@@ -473,9 +473,8 @@ class Variable(Node):
the scenes. Subsequent calls to :func:`eval` on that same variable
will be fast, because the variable caches the compiled function.
This way of computing have more overhead then a normal Theano
function, so don't use it too much in real script. But is
useful for interactive session and quick experiments.
This way of computing has more overhead than a normal Theano
function, so don't use it too much in real scripts.
"""
if inputs_to_values is None:
......
......@@ -212,7 +212,6 @@ class BlockSparse_Gemv_and_Outer(unittest.TestCase):
def op(b, h, W):
return self.gemv_op(b.take(oIdx, axis=0), W, h, iIdx, oIdx)
eps = 3e-4
eps = 3e-3
utt.verify_grad(metaop, [b_val, h_val, W_val], mode=self.mode, eps=eps)
utt.verify_grad(op, [b_val, h_val, W_val], mode=self.mode, eps=eps)
......
......@@ -316,7 +316,7 @@ theano.compile.optdb['uncanonicalize'].register("local_hard_sigmoid",
class ScalarSoftplus(scalar.UnaryScalarOp):
"""
This help numerical stability.
This helps numerical stability.
"""
@staticmethod
def static_impl(x):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论