提交 a62465ba authored 作者: Frederic Bastien's avatar Frederic Bastien

Comments 2 the last stuff that need to be moved to the new profiler.

上级 ad666148
......@@ -4092,7 +4092,8 @@ def tensor4(name=None, dtype=None):
ftensor4 = CudaNdarrayType(dtype='float32', broadcastable=(False,) * 4)
@theano.compile.profilemode.register_profiler_printer
# TODO: move that to the new back-end and new profiling.py print_tips
#@theano.compile.profilemode.register_profiler_printer
def profile_printer(fct_name, compile_time, fct_call_time, fct_call,
apply_time, apply_cimpl, message, outputs_size,
other_time):
......
......@@ -2831,7 +2831,8 @@ class Scan(PureOp):
gof.ops_with_inner_function[Scan] = 'fn'
@theano.compile.profilemode.register_profiler_printer
# TODO: move that to the new back-end and new profiling.py print_tips
#@theano.compile.profilemode.register_profiler_printer
def profile_printer(fct_name, compile_time, fct_call_time, fct_call,
apply_time, apply_cimpl, message, outputs_size,
other_time):
......
......@@ -129,7 +129,6 @@ def test_pydotprint_profile():
theano.printing.pydotprint(f, print_output_file=False)
def test_min_informative_str():
""" evaluates a reference output to make sure the
min_informative_str function works as intended """
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论