FluxML/Flux.jl

'cell_clip' and 'proj_clip' for Flux: LSTM

已關閉

#653 建立於 2019年3月1日

 (1 則留言) (0 個反應) (0 位負責人)Julia (619 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (4,725 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南