提交 a5da2c07 authored 作者: hantek's avatar hantek

fix an example

上级 fd278b8f
...@@ -2073,11 +2073,11 @@ class Assert(T.Op): ...@@ -2073,11 +2073,11 @@ class Assert(T.Op):
Examples Examples
-------- --------
import theano >>> import theano
T = theano.tensor >>> T = theano.tensor
x = T.vector('x') >>> x = T.vector('x')
assert_op = T.opt.Assert() >>> assert_op = T.opt.Assert()
func = theano.function([x], assert_op(x, x.size<2)) >>> func = theano.function([x], assert_op(x, x.size<2))
""" """
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论