Add a new type of layers: SwitchLayer. It takes multiple input blobs and forward only one of them based on another input signal.