提交 5b5faefa authored 作者: notoraptor's avatar notoraptor

Flake8.

上级 e04f0531
......@@ -85,9 +85,9 @@ class Params(dict):
from theano.scalar import Scalar
# You must create a ParamsType first:
params_type = ParamsType(attr1=Scalar('int32'),
key2=Scalar('float32'),
key2=Scalar('float32'),
field3=Scalar('int64'))
# Then you can create a Params object with
# Then you can create a Params object with
# the params type defined above and values for attributes.
params = Params(params_type, attr1=1, key2=2.0, field3=3)
print(params.attr1, params.key2, params.field3)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论