提交 602ee1b1 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Fixed minor typos

上级 e2b0c6dc
...@@ -204,10 +204,10 @@ class Variable(utils.object2): ...@@ -204,10 +204,10 @@ class Variable(utils.object2):
- `Variable` (this base type) is typically the output of a symbolic computation, - `Variable` (this base type) is typically the output of a symbolic computation,
- `Value` (a subclass) adds a default :literal:`value`, and requires that owner == None - `Value` (a subclass) adds a default :literal:`value`, and requires that owner is None
- `Constant` (a subclass) which adds a default and un-replacable :literal:`value`, and - `Constant` (a subclass) which adds a default and un-replaceable :literal:`value`, and
requires that owner == None requires that owner is None
A Variable which is the output of a symbolic computation will have an owner != None. A Variable which is the output of a symbolic computation will have an owner != None.
......
...@@ -315,7 +315,7 @@ class Type(object2, PureType, CLinkerType): ...@@ -315,7 +315,7 @@ class Type(object2, PureType, CLinkerType):
Type instance defines the kind of value which might end up in that variable when executing Type instance defines the kind of value which might end up in that variable when executing
a `Function`. In this sense, theano is like a strongly-typed language because the types a `Function`. In this sense, theano is like a strongly-typed language because the types
are included in the graph before the values. In our example above, b is a Variable which is are included in the graph before the values. In our example above, b is a Variable which is
guaranteed to corresond to a numpy.ndarray of rank 1 when we try to do some computations guaranteed to correspond to a numpy.ndarray of rank 1 when we try to do some computations
with it. with it.
Many `Op` instances will raise an exception if they are applied to inputs with incorrect Many `Op` instances will raise an exception if they are applied to inputs with incorrect
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论