提交 02f9d4fa authored 作者: notoraptor's avatar notoraptor

Add comment to explain the change in `vm.py`.

上级 e2a5c01f
...@@ -656,6 +656,8 @@ class Stack(VM): ...@@ -656,6 +656,8 @@ class Stack(VM):
try: try:
# If cxx is explicitely set to an empty string, we do not want to import neither lazylinker C code
# nor lazylinker compiled C code from cache.
if not theano.config.cxx: if not theano.config.cxx:
raise theano.gof.cmodule.MissingGXX('lazylinker will not be imported if theano.config.cxx is not set.') raise theano.gof.cmodule.MissingGXX('lazylinker will not be imported if theano.config.cxx is not set.')
from . import lazylinker_c from . import lazylinker_c
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论