Skip to content

GlobalPooling1D broken #398

Closed
Closed
@jmduarte

Description

@jmduarte

See discussion on Google Group: https://groups.google.com/g/hls4mlhelp/c/DI5o7FLZQS0/m/ChidBM-WBAAJ?utm_medium=email&utm_source=footer&pli=1

GlobalPooling1D layers are currently broken due to
(1) bad parsing of inputs in conversion/initialization
(2) missing HLS implementations for io_stream and io_parallel

~/work/hls4ml/hls4ml/model/hls_layers.py in initialize(self)
   1205 class GlobalPooling1D(Layer):
   1206     def initialize(self):
-> 1207         shape = [self.attributes['n_out'], self.attributes['n_filt']]
   1208         dims = ['N_OUTPUTS_{}'.format(self.index), 'N_FILT_{}'.format(self.index)]
   1209         self.add_output_variable(shape, dims)

KeyError: 'n_out'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions