提交 1cde57d4 authored 作者: Frederic Bastien's avatar Frederic Bastien

clean up import

上级 7515910e
......@@ -5,7 +5,7 @@ Defines Linkers that deal with C implementations.
# Python imports
from copy import copy
import re #for set_compiledir
import os, sys, platform, StringIO, time
import os, sys, StringIO
if sys.version_info[:2] >= (2,5):
import hashlib
......@@ -16,7 +16,8 @@ else:
def hash_from_code(msg):
return md5.new(msg).hexdigest()
from theano.gof.python25 import any, all
from theano.gof.python25 import all
from theano import config
# Note that we need to do this before importing cutils, since when there is
# no theano cache dir initialized yet, importing cutils may require compilation
......@@ -33,13 +34,10 @@ import graph
import link
import utils
from compiledir import *
from compilelock import get_lock, release_lock
import cmodule
from theano.configparser import TheanoConfigParser, EnumStr, IntParam, FloatParam, BoolParam
import logging
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论