提交 0421b6f5 authored 作者: Michael Osthege's avatar Michael Osthege 提交者: Brandon T. Willard

Remove import of test suite from main __init__

- The 6-year old comment indicated that the import was done because of some GPU configuration, without providing any details - The import actually imported the first thing called "tests" that is found in the PATH
上级 295ea57d
...@@ -165,10 +165,6 @@ from theano.updates import OrderedUpdates ...@@ -165,10 +165,6 @@ from theano.updates import OrderedUpdates
from theano.gradient import Rop, Lop, grad, subgraph_grad from theano.gradient import Rop, Lop, grad, subgraph_grad
# This need to be before the init of GPU, as it add config variable
# needed during that phase.
import tests
if ( if (
config.device.startswith("cuda") config.device.startswith("cuda")
or config.device.startswith("opencl") or config.device.startswith("opencl")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论