def __VanillaRNNstep(
name,
input_dim,
hidden_dim,
current_inp,
last_hidden,
weightnorm=True):
"""
CAUTION:
Not for stand-alone usage. It is defined here (instead of
inside VanillaRNN function) to not clutter the code.
:todo:
- Implement!
- Test!
"""
# S_t = tanh(U*X_t+W*S_{t-1})
raise NotImplementedError
评论列表
文章目录