(self)
Generator to iterator over the layers in the same
        order as bprop
Generator to iterator over the layers in the same
        order as bprop
Generator to iterator over the layers in the same order as bprop
def layers_bprop(self):
        """
        Generator to iterator over the layers in the same
        order as bprop
        """
        for layer in reversed(self.layers):
            if hasattr(layer, 'layers_bprop'):
                for layer2 in layer.layers_bprop():
                    yield layer2
            yield layer
def layers_bprop ( self ) : for layer in reversed ( self . layers ) : if hasattr ( layer , 'layers_bprop' ) : for layer2 in layer . layers_bprop ( ) : yield layer2 yield layer