FProp, returns all layers including the input and output layers.
(self, theta, inputs, paddings=None)
source not stored for this graph (policy: none)