View source: R/initialization.R
init_gate_bias | R Documentation |
x <- list(rnn_layer = nn_lstm(2, 20)) init_gate_bias(x$rnn_layer) x$rnn_layer$parameters$bias_ih_l1
init_gate_bias(rnn_layer)
~LSTM.bias_ih_lk – (b_ii|b_if|b_ig|b_io), of shape (4hidden_size) ~LSTM.bias_hh_lk – (b_hi|b_hf|b_hg|b_ho), of shape (4hidden_size)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.