Esempio n. 1
0
 def f(x):
     y = jnp.sin(x)
     debugger.breakpoint(stdin=stdin, stdout=stdout)
     return y
Esempio n. 2
0
 def g(x):
     y = f(x) * 2.
     debugger.breakpoint(stdin=stdin, stdout=stdout, ordered=True)
     return jnp.exp(y)
Esempio n. 3
0
 def f(x):
     y = x + 1.
     debugger.breakpoint(stdin=stdin, stdout=stdout)
     return 2. * y
Esempio n. 4
0
 def f(x):
     y = x + 1.
     debugger.breakpoint(stdin=stdin, stdout=stdout, ordered=True)
     return y