tensorflow / custom-op

Guide for building custom op for TensorFlow
Apache License 2.0
376 stars 115 forks source link

How to debug into custom-op use Makefile? #85

Open shipleyxie opened 3 years ago

shipleyxie commented 3 years ago

I have the PID while run python : 10495. What i want to do:

gdb -p 10495
(gdb)break tensorflow_zero_out/cc/kernels/zero_out_kernels.cc:33

And my question is how to compile custom op with debug option?