in ()
----> 1 encoded_seq = encoder(inputs=x_emb)
C:\ProgramData\Anaconda3\envs\py3\lib\site-packages\recurrentshop-1.0.0-py3.6.egg\recurrentshop\engine.py in __call__(self, inputs, initial_state, initial_readout, ground_truth, **kwargs)
474 ground_truth = self._get_optional_input_placeholder('ground_truth')
475 inputs.append(ground_truth)
--> 476 assert len(inputs) == req_num_inputs, "Required " + str(req_num_inputs) + " inputs, received " + str(len(inputs)) + "."
477 with K.name_scope(self.name):
478 if not self.built:
AssertionError: Required 2 inputs, received 3.
I tried to follow your example. I am using keras 2.2.0 with tensorflow backend.
I was trying out your library today as shown below:
But I encountered the error below:
AssertionError Traceback (most recent call last)