提交 0ff2e081 authored 作者: Frederic Bastien's avatar Frederic Bastien

removed not used import and clarified theano flags description.

上级 930d093a
...@@ -3,7 +3,6 @@ import time, atexit, copy ...@@ -3,7 +3,6 @@ import time, atexit, copy
from theano.gof.link import WrapLinker from theano.gof.link import WrapLinker
from theano.gof.cutils import run_cthunk from theano.gof.cutils import run_cthunk
from theano.compile.mode import Mode, register_mode, predefined_modes, predefined_linkers, predefined_optimizers from theano.compile.mode import Mode, register_mode, predefined_modes, predefined_linkers, predefined_optimizers
from theano.gof.cc import OpWiseCLinker
from theano.gof.python25 import any from theano.gof.python25 import any
from theano import gof from theano import gof
from theano.configparser import config, AddConfigVar, IntParam from theano.configparser import config, AddConfigVar, IntParam
...@@ -20,7 +19,8 @@ AddConfigVar('ProfileMode.n_ops_to_print', ...@@ -20,7 +19,8 @@ AddConfigVar('ProfileMode.n_ops_to_print',
IntParam(20, lambda i: i > 0)) IntParam(20, lambda i: i > 0))
AddConfigVar('ProfileMode.min_memory_size', AddConfigVar('ProfileMode.min_memory_size',
"For the memory profile, don't print apply whose output size is lower then this", """For the memory profile, don't print apply when the size in bytes
of its outputs in lower then this threshold""",
IntParam(1024, lambda i: i >= 0)) IntParam(1024, lambda i: i >= 0))
class Profile_Maker(FunctionMaker): class Profile_Maker(FunctionMaker):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论