Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[v1.x] Backport #17702 and #17872 to v1.x branch #18038

Merged
merged 2 commits into from
Apr 15, 2020

Commits on Apr 13, 2020

  1. Support projection feature for LSTM on CPU (Only Inference) (apache#1…

    …7702)
    
    * Support projection feature for LSTM on CPU
    
    * test solution for -Werror=maybe-uninitialized
    
    * Check device type when create state
    
    * Document the projection feature of LSTM for RNN operator
    
    * Minor fix
    
    * Re-run CI
    zixuanweeei committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    d25929b View commit details
    Browse the repository at this point in the history
  2. Fix issue of zeros gradients w.r.t. RNN bias when num_layers > 1 (apa…

    …che#17872)
    
    * Fix issue of zeros gradients w.r.t. RNN bias when num_layers > 1
    
    * Use nd.copy() to initialize parameters of new operator
    
    * Add check for output states
    
    * Initialize i2h/h2h_weights with zeros for rnn_relu/tanh, and reduce size
    
    * Split fused rnn layer test into tests of individual mode
    
    * Skip lstm and gru tests on CPU context without DNNL
    zixuanweeei committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    a754b38 View commit details
    Browse the repository at this point in the history