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 合并指标
 (平均合并 3天 6小时) (30 天内合并 6 个 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.

贡献者指南