I might make a big revision someday to review everything, fix anything that needs fixing, and explain the reason for each step. Maybe.
- Some computers won't work out of the box because of bugs left by the manufacturers.
""" | |
This is a batched LSTM forward and backward pass | |
""" | |
import numpy as np | |
import code | |
class LSTM: | |
@staticmethod | |
def init(input_size, hidden_size, fancy_forget_bias_init = 3): |