tensorflow / custom-op

Guide for building custom op for TensorFlow
Apache License 2.0
378 stars 116 forks source link

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

Open shipleyxie opened 4 years ago

shipleyxie commented 4 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?