XdG is implemented as a Keras layer in layers.py. You can drop this layer into any model of your choosing. The functionality to add gates on the fly add_gates still needs to be implemented but can probably do this in like 10 minutes.
freedmanlab/xdg_keras
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|