Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def lstm_layer(tparams, state_below, options, prefix='lstm', mask=None):
- nsteps = state_below.shape[0]
- if state_below.ndim == 3:
- n_samples = state_below.shape[1]
- else:
- n_samples = 1
- assert mask is not None
- […]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement