提交 5cf2b803 authored 作者: Pierre Luc Carrier's avatar Pierre Luc Carrier 提交者: --global

Improve class documentation

上级 783713f1
......@@ -83,7 +83,8 @@ class PdbBreakpoint(Op):
if condition:
print "-------------------------------------------------"
print "Conditional breakpoint %s activated" % self.name
print "The monitored variables are stored in 'monitored'"
print "The monitored variables are stored in, in order,"
print "in the list variable 'monitored'"
print "-------------------------------------------------"
pdb.set_trace()
......@@ -94,5 +95,5 @@ class PdbBreakpoint(Op):
return ([DisconnectedType()] + output_gradients)
def infer_shape(self, inputs, input_shapes):
# Return the shape of every input but the condition
# Return the shape of every input but the condition (first input)
return input_shapes[1:]
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论