问题
How can I build a multi-layer neural network with the different number of filters in each layer with cell = ConvLSTMCell() and MultiRNNCell?
回答1:
cell_1 = ConvLSTMCell(...params...)
cell_2 = ConvLSTMCell(...params...)
multi_cell = MultiRNNCell([cell_1, cell_2], ...other params...)
Then you can call tensorflow dynamic_rnn(..)
api with multi_cell
and required parameters.
来源:https://stackoverflow.com/questions/48942122/how-can-i-use-multirnncell-with-cell-convlstmcell