提交 36e43a81 authored 作者: Pierre Luc Carrier's avatar Pierre Luc Carrier 提交者: --global

Improve variable names in breakpoint example

上级 5cf2b803
...@@ -48,7 +48,8 @@ class PdbBreakpoint(Op): ...@@ -48,7 +48,8 @@ class PdbBreakpoint(Op):
# as the individual error values # as the individual error values
breakpointOp = PdbBreakpoint("MSE too high") breakpointOp = PdbBreakpoint("MSE too high")
condition = T.gt(mse.sum(), 100) condition = T.gt(mse.sum(), 100)
mse, _, _ = breakpointOp(condition, mse, input, target) mse, monitored_input, monitored_target = breakpointOp(condition, mse,
input, target)
# Compile the theano function # Compile the theano function
fct = theano.function([input, target], mse) fct = theano.function([input, target], mse)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论