You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presently, the injector architecture for layer outputs works with linear models as during run-time, the execution stops at the chosen layer n, injects faults into that layer and continues with the next n+1 layer. Suppose that the n layer outputs feed back into n-1 layer (a non-linear connection), the current design would not handle that.
We have a workaround for such a non-linear architecture such as the SqueezeNet model which looks like so:
where the fire modules consist of "squeeze" and "expand" layers, with the expand layers splitting into two parallel convolutional layers of different left (1x1) and right (3x3) filters:
Keras stores all layers in order so the left and right layers are also stored with serial consecutive indices. This means for certain n layers in the fire modules, the outputs feed into two parallel layers n1 + 1 and n2 + 1 and so we manually figured out the exception layers and handled the four cases like so:
Obviously, this is cumbersome to figure out and be done for each non-linear architecture. Hence we need a way to generalize - this could be using the inbound nodes of the Keras layers so we know which layers to connect to during dynamic injection at any layer.
The text was updated successfully, but these errors were encountered:
Presently, the injector architecture for layer outputs works with linear models as during run-time, the execution stops at the chosen layer
n
, injects faults into that layer and continues with the nextn+1
layer. Suppose that then
layer outputs feed back inton-1
layer (a non-linear connection), the current design would not handle that.We have a workaround for such a non-linear architecture such as the SqueezeNet model which looks like so:
where the fire modules consist of "squeeze" and "expand" layers, with the expand layers splitting into two parallel convolutional layers of different left (1x1) and right (3x3) filters:
Keras stores all layers in order so the left and right layers are also stored with serial consecutive indices. This means for certain
n
layers in the fire modules, the outputs feed into two parallel layersn1 + 1
andn2 + 1
and so we manually figured out the exception layers and handled the four cases like so:Obviously, this is cumbersome to figure out and be done for each non-linear architecture. Hence we need a way to generalize - this could be using the inbound nodes of the Keras layers so we know which layers to connect to during dynamic injection at any layer.
The text was updated successfully, but these errors were encountered: