提交 01006a4e authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Add python version to the compiledir.

Makes it easier to use theano under multiple pythons on the same machine.
上级 b0b78690
......@@ -8,6 +8,7 @@ from theano.configparser import config, AddConfigVar, StrParam
def default_compiledirname():
platform_id = platform.platform() + '-' + platform.processor()
platform_id += ('-' + platform.python_version())
platform_id = re.sub("[\(\)\s]+", "_", platform_id)
return 'compiledir_'+platform_id
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论