'run the LSTM model through the given input errors. The data has dimension
(seq_len, batch_size, hidden_size)'

@staticmethod
def runBatchBpropWithGivenDelta(hidden_size, batch_cache, delta):

    dH = delta
    (dX, dWLSTM, dc0, dh0) = LSTM.backward(dH, batch_cache)
    input_size = ((dWLSTM.shape[0] - hidden_size) - 1)
    dWrecur = dWLSTM[(- hidden_size):, :]
    dWinput = dWLSTM[1:(input_size + 1), :]
    db = dWLSTM[0, :]
    return (dX, dWrecur, dWinput, db, dWLSTM)
