Imnets: Deep Learning Using An Incremental Modular Network Synthesis Approach For Medical Imaging Applications