提交 bd54fd06 authored 作者: Frederic's avatar Frederic

Allow to use the numpy version in the compiledir

上级 adb31c15
...@@ -83,6 +83,7 @@ New Features ...@@ -83,6 +83,7 @@ New Features
* C code reuses preallocated outputs (only done by Scan) (Pascal L.) * C code reuses preallocated outputs (only done by Scan) (Pascal L.)
* Garbage collection of intermediate results during Theano function calls * Garbage collection of intermediate results during Theano function calls
for Ops with C code (Pascal L.) for Ops with C code (Pascal L.)
* Theano flags compiledir_format now support the parameter numpy_version.
Sparse Sparse
* Implement theano.sparse.mul(sparse1, sparse2) when both inputs don't * Implement theano.sparse.mul(sparse1, sparse2) when both inputs don't
......
...@@ -17,6 +17,7 @@ compiledir_format_dict = {"platform": platform.platform(), ...@@ -17,6 +17,7 @@ compiledir_format_dict = {"platform": platform.platform(),
"processor": platform.processor(), "processor": platform.processor(),
"python_version": platform.python_version(), "python_version": platform.python_version(),
"theano_version": theano.__version__, "theano_version": theano.__version__,
"numpy_version": numpy.__version__,
} }
compiledir_format_keys = ", ".join(compiledir_format_dict.keys()) compiledir_format_keys = ", ".join(compiledir_format_dict.keys())
default_compiledir_format =\ default_compiledir_format =\
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论