예제 #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