lf1-io / padl

Functional deep learning
Apache License 2.0
106 stars 4 forks source link

Debug/ set breakpoint at pipeline position #457

Open blythed opened 2 years ago

blythed commented 2 years ago

Would be nice to stop the runtime at a particular transform, using some kind of coordinate system. E.g. set_breakpoint(my_transform, [1, 5, 2]). Next level would be to, in addition, add a breakpoint at a certain position even within the code of a transform.

jasonkhadka commented 2 years ago

How about also having a breakpoint transform?

a = (
  t1
  >> t2
  >> padl.breakpoint
)