提交 e9b655d0 authored 作者: abalkin's avatar abalkin

Use absolute imports.

上级 bd1b1708
import ops from theano.compile.ops import (
from ops import (
DeepCopyOp, deep_copy_op, register_deep_copy_op_c_code, DeepCopyOp, deep_copy_op, register_deep_copy_op_c_code,
ViewOp, view_op, register_view_op_c_code) ViewOp, view_op, register_view_op_c_code)
import function_module from theano.compile.function_module import *
from function_module import *
import mode from theano.compile.mode import *
from mode import *
import io from theano.compile.io import *
from io import *
import builders from theano.compile.builders import *
from builders import *
import module from theano.compile.module import *
from module import *
import debugmode # register DEBUG_MODE from theano.compile.debugmode import DebugMode
from debugmode import DebugMode
from monitormode import MonitorMode from theano.compile.monitormode import MonitorMode
from profilemode import ProfileMode from theano.compile.profilemode import ProfileMode
from theano.compile.sharedvalue import shared, shared_constructor, SharedVariable from theano.compile.sharedvalue import shared, shared_constructor, SharedVariable
from theano.compile.pfunc import pfunc, Param, rebuild_collect_shared from theano.compile.pfunc import pfunc, Param, rebuild_collect_shared
from function import function from theano.compile.function import function
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论