FluxML/Flux.jl

'cell_clip' and 'proj_clip' for Flux: LSTM

Geschlossen

#653 geöffnet am 01.03.2019

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Julia (619 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (4.725 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 3T 6h) (6 gemergte PRs in 30 T)

Beschreibung

Looking through the docs. , I found that this feature is missing for LSTM layers. It comes as an optional parameter in tensorflow LSTMCell This will be useful for porting stuff to flux while achieving the same results as from tensorflow implementations for some popular algorithms (like ELMo). Looking in the code base of tensorflow if says that it clip the value of cell states between [-cell_clip, cell_clip] in it's clip_by_value method.

Contributor Guide