Skip to content

Instantly share code, notes, and snippets.

View mpariente's full-sized avatar
🤩

Pariente Manuel mpariente

🤩
View GitHub Profile
"""
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):