示例#1
0
 def body(x, _):
     summary.summary(x, name='x', mode='append')
     return x + 1, ()
示例#2
0
 def f(x):
     summary.summary(x, name='x')
     summary.summary(x, name='x')
     return x
示例#3
0
 def f(x):
     return summary.summary(x, name='x')
示例#4
0
 def f(x):
     summary.summary(x**2, name='y')
     return x
示例#5
0
 def f(x):
   summary.summary(x + 1., name='x', mode='append')
   summary.summary(x + 2., name='x', mode='append')
   return x