提交 e65a79fb authored 作者: Pascal Lamblin's avatar Pascal Lamblin

''Slight clarification of parameter doc.''

上级 baa3c014
......@@ -214,8 +214,9 @@ class PureType(object):
data passed as an argument. If it is False, and allow_downcast
is True, filter may cast it to an appropriate type. If
allow_downcast is False, filter may only upcast it, not lose
precision. If allow_downcast is None, only Python float can be
downcasted, and only to a floatX scalar.
precision. If allow_downcast is None, the behaviour can be
Type-dependant, but for now only Python float can be downcasted,
and only to a floatX scalar.
:Exceptions:
- `MethodNotDefined`: subclass doesn't implement this function.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论