We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ce874f commit 59ed824Copy full SHA for 59ed824
hls4ml/model/layers.py
@@ -872,9 +872,10 @@ class SimpleRNN(Layer):
872
def initialize(self):
873
if self.attributes['return_sequences']:
874
shape = [self.attributes['n_timesteps'], self.attributes['n_out']]
875
+ dims = ['N_TIME_STEPS_{}'.format(self.index), 'N_OUT_{}'.format(self.index)]
876
else:
- shape = [1, self.attributes['n_out']]
877
- dims = ['N_TIME_STEPS_{}'.format(self.index), 'N_OUT_{}'.format(self.index)]
+ shape = [self.attributes['n_out']]
878
+ dims = ['N_OUT_{}'.format(self.index)]
879
880
self.add_output_variable(shape, dims)
881
0 commit comments