def f(x):
    summary.summary((x + 1.0), name='x', mode='append')
    summary.summary((x + 2.0), name='x', mode='append')
    return x
def f(x):
    summary.summary((x + 1.0), name='x', mode='append')
    summary.summary((x + 2.0), name='x', mode='append')
    return x