-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
Hi . thank u so much for your code about rnn. I want to run it in version 1.2.1. After some changes, I meet with an error which seems a little hard for me.
code:
self._initial_state = cell.zero_state(self.batch_size,dtype=tf.float32)
error:
TypeError: int() argument must be a string or a number, not 'Variable'
I know why this happens. but due to code structure, I won't change the type of batch_size. So what should I do? thank u.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels