Class CellFactory¶
Defined in File constructors.h
Inheritance Relationships¶
Base Type¶
public marian::Factory
(Class Factory)
Derived Type¶
public marian::rnn::StackedCellFactory
(Class StackedCellFactory)
Class Documentation¶
-
class
CellFactory
: public marian::Factory¶ Base class for constructing RNN cells.
RNN cells only process a single timestep instead of the whole batches of input sequences. There are nine types of RNN cells provided by Marian, i.e.,
gru
,gru-nematus
,lstm
,mlstm
,mgru
,tanh
,relu
,sru
,ssru
.Subclassed by marian::rnn::StackedCellFactory