ValueError: Dimensions must be equal, but are 50 and 100 for 'Train/Model/recurrent_loop/recurrent_loop/multi_rnn_cell/cell_0/h_0/mul' (op: 'Mul') with input shapes: [32,50], [100]
for batch in batches:
# batch = [32, 50]
output, state = cell(batch, state)
Both LSTMCell and GRUCell work with the above input and hidden sizes. Why doesn't RHNCell?
Setting the input_size to 100 throws another error: ValueError: Linear is expecting 2D arguments: [[32, 100], [100]].
When I attempt to use
RHNCell
it throws:The cell is initialized the following way.
and applied in a loop:
Both
LSTMCell
andGRUCell
work with the above input and hidden sizes. Why doesn'tRHNCell
? Setting theinput_size
to 100 throws another error:ValueError: Linear is expecting 2D arguments: [[32, 100], [100]]
.