提交 86f57fc7 authored 作者: Frederic Bastien's avatar Frederic Bastien

flake8

上级 50992670
......@@ -4093,7 +4093,7 @@ ftensor4 = CudaNdarrayType(dtype='float32', broadcastable=(False,) * 4)
# TODO: move that to the new back-end and new profiling.py print_tips
#@theano.compile.profilemode.register_profiler_printer
# @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):
......
......@@ -425,11 +425,6 @@ def run_conv_nnet2_classif(use_gpu, seed, isize, ksize, bsize,
version=version,
check_isfinite=check_isfinite)
if use_gpu:
device = 'GPU'
else:
device = 'CPU'
xval = my_rand(*x_shape)
yval = my_rand(*y_shape)
lr = theano._asarray(0.01, dtype='float32')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论