def METHOD_NAME(self):
    a = jt.random([10])
    _, m = jt.argmax(a, 0)
    del _
    m.sync()
    g = jt.grad(m*10, a)
    g.sync()
    del a, g, m
    jt.display_memory_info()
    assert jt.liveness_info()["lived_ops"] == 0