ivannz / cplxmodule

Complex-valued neural networks for pytorch and Variational Dropout for real and complex layers.
MIT License
134 stars 27 forks source link

Any advice for using with Captum? #26

Open JasperSolt opened 2 years ago

JasperSolt commented 2 years ago

I'm trying to implement a complex model, then visualize it with Captum's integrated gradients library (https://captum.ai/docs/extension/integrated_gradients). However, Captum's implementation expects everything to be a torch tensor, not a Cplx object. Any thoughts for a workaround?