hls4ml.converters.keras package

Submodules

hls4ml.converters.keras.convolution module

hls4ml.converters.keras.convolution.parse_conv1d_layer(keras_layer, input_names, input_shapes, data_reader, config)
hls4ml.converters.keras.convolution.parse_conv2d_layer(keras_layer, input_names, input_shapes, data_reader, config)

hls4ml.converters.keras.core module

class hls4ml.converters.keras.core.BinaryQuantizer(bits=2)

Bases: hls4ml.model.hls_layers.Quantizer

class hls4ml.converters.keras.core.TernaryQuantizer

Bases: hls4ml.model.hls_layers.Quantizer

hls4ml.converters.keras.core.parse_activation_layer(keras_layer, input_names, input_shapes, data_reader, config)
hls4ml.converters.keras.core.parse_batchnorm_layer(keras_layer, input_names, input_shapes, data_reader, config)
hls4ml.converters.keras.core.parse_dense_layer(keras_layer, input_names, input_shapes, data_reader, config)
hls4ml.converters.keras.core.parse_input_layer(keras_layer, input_names, input_shapes, data_reader, config)

hls4ml.converters.keras.graph module

hls4ml.converters.keras.graph.parse_garnet_layer(keras_layer, input_names, input_shapes, data_reader, config)

hls4ml.converters.keras.merge module

hls4ml.converters.keras.merge.parse_merge_layer(keras_layer, input_names, input_shapes, data_reader, config)

hls4ml.converters.keras.pooling module

hls4ml.converters.keras.pooling.parse_global_pooling_layer(keras_layer, input_names, input_shapes, data_reader, config)
hls4ml.converters.keras.pooling.parse_pooling_layer(keras_layer, input_names, input_shapes, data_reader, config)

hls4ml.converters.keras.qkeras module

hls4ml.converters.keras.qkeras_layers module

hls4ml.converters.keras.reshape module

hls4ml.converters.keras.reshape.parse_conv2d_layer(keras_layer, input_names, input_shapes, data_reader, config)
hls4ml.converters.keras.reshape.parse_flatten_layer(keras_layer, input_names, input_shapes, data_reader, config)
hls4ml.converters.keras.reshape.parse_permute_layer(keras_layer, input_names, input_shapes, data_reader, config)
hls4ml.converters.keras.reshape.parse_reshape_layer(keras_layer, input_names, input_shapes, data_reader, config)

hls4ml.converters.keras.reshaping module

hls4ml.converters.keras.reshaping.parse_zeropadding1d_layer(keras_layer, input_names, input_shapes, data_reader, config)
hls4ml.converters.keras.reshaping.parse_zeropadding2d_layer(keras_layer, input_names, input_shapes, data_reader, config)

Module contents