提交 406b0f76 authored 作者: Frederic's avatar Frederic

small cleanup

上级 2fcafab8
...@@ -129,5 +129,5 @@ none_type_t = NoneTypeT() ...@@ -129,5 +129,5 @@ none_type_t = NoneTypeT()
# This is a variable instance. It can be used only once per fgraph. # This is a variable instance. It can be used only once per fgraph.
# So use NoneConst.clone() before using it in a Theano graph. # So use NoneConst.clone() before using it in a Theano graph.
# Use NoneConst.equal(x) to check if two variable are NoneConst. # Use NoneConst.equals(x) to check if two variable are NoneConst.
NoneConst = Constant(NoneTypeT(), None, name='NoneConst') NoneConst = Constant(none_type_t, None, name='NoneConst')
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论