Table Of Contents
Table Of Contents

mxnet.initializer.FusedRNN

class mxnet.initializer.FusedRNN(init, num_hidden, num_layers, mode, bidirectional=False, forget_bias=1.0)[source]

Initialize parameters for fused rnn layers.

Parameters
  • init (Initializer) – initializer applied to unpacked weights. Fall back to global initializer if None.

  • num_hidden (int) – should be the same with arguments passed to FusedRNNCell.

  • num_layers (int) – should be the same with arguments passed to FusedRNNCell.

  • mode (str) – should be the same with arguments passed to FusedRNNCell.

  • bidirectional (bool) – should be the same with arguments passed to FusedRNNCell.

  • forget_bias (float) – should be the same with arguments passed to FusedRNNCell.

__init__(init, num_hidden, num_layers, mode, bidirectional=False, forget_bias=1.0)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(init, num_hidden, num_layers, mode)

Initialize self.

dumps()

Saves the initializer to string

set_verbosity([verbose, print_func])

Switch on/off verbose mode