(self, error)
return self.deltas
Backward propagation reshapes the error inputs for previous layer.
Backward propagation reshapes the error inputs for previous layer.
Backward propagation reshapes the error inputs for previous layer .
def bprop(self, error):
        """
        Backward propagation reshapes the error inputs for previous layer.
        """
        if self.deltas is None:
            self.deltas = error.reshape(self.in_shape_t)
        return self.deltas
def bprop ( self , error ) : if self . deltas is None : self . deltas = error . reshape ( self . in_shape_t ) return self . deltas