hls4ml.backends.catapult package
Subpackages
- hls4ml.backends.catapult.passes package
- Submodules
- hls4ml.backends.catapult.passes.bn_quant module
- hls4ml.backends.catapult.passes.broadcast_stream module
- hls4ml.backends.catapult.passes.conv_same_pad module
- hls4ml.backends.catapult.passes.conv_stream module
- hls4ml.backends.catapult.passes.convolution_templates module
- hls4ml.backends.catapult.passes.convolution_winograd module
- hls4ml.backends.catapult.passes.core_templates module
ActivationConfigTemplate
ActivationFunctionTemplate
BatchNormalizationConfigTemplate
BatchNormalizationFunctionTemplate
DenseConfigTemplate
DenseFunctionTemplate
HardActivationConfigTemplate
PReLUFunctionTemplate
ParamActivationConfigTemplate
ParametrizedActivationFunctionTemplate
SoftmaxConfigTemplate
- hls4ml.backends.catapult.passes.fifo_depth_optimization module
- hls4ml.backends.catapult.passes.garnet_templates module
- hls4ml.backends.catapult.passes.merge_templates module
- hls4ml.backends.catapult.passes.pointwise module
- hls4ml.backends.catapult.passes.pooling_templates module
- hls4ml.backends.catapult.passes.quantization_templates module
- hls4ml.backends.catapult.passes.recurrent_templates module
- hls4ml.backends.catapult.passes.reshaping_templates module
- hls4ml.backends.catapult.passes.resource_strategy module
- hls4ml.backends.catapult.passes.transform_types module
- Module contents
Submodules
hls4ml.backends.catapult.catapult_backend module
- class hls4ml.backends.catapult.catapult_backend.CatapultBackend
Bases:
FPGABackend
- build(model, reset=False, csim=True, synth=True, cosim=False, validation=False, vhdl=False, verilog=True, export=False, vsynth=False, fifo_opt=False, bitfile=False, ran_frame=5, sw_opt=False, power=False, da=False, bup=False)
- create_initial_config(tech='fpga', part='xcku115-flvb2104-2-i', asiclibs='nangate-45nm', fifo=None, clock_period=5, io_type='io_parallel')
Create the minimal conversion config for the backend.
Subclasses should implement this method to provide the initial configuration for the conversion.
- get_default_flow()
The name of the default flow of the backend.
Default flow is used as the conversion target if the target flow has not been specified.
- get_writer_flow()
- init_base_layer(layer)
- init_conv1d(layer)
- init_conv2d(layer)
- init_dense(layer)
- init_depconv2d(layer)
- init_embed(layer)
- init_garnet(layer)
- init_garnet_stack(layer)
- init_global_pooling1d(layer)
- init_global_pooling2d(layer)
- init_gru(layer)
- init_lstm(layer)
- init_pooling1d(layer)
- init_pooling2d(layer)
- init_sepconv1d(layer)
- init_sepconv2d(layer)
- init_softmax(layer)
hls4ml.backends.catapult.catapult_types module
- class hls4ml.backends.catapult.catapult_types.CatapultArrayVariableConverter(type_converter)
Bases:
ArrayVariableConverter
- class hls4ml.backends.catapult.catapult_types.CatapultArrayVariableDefinition
Bases:
VariableDefinition
- definition_cpp(name_suffix='', as_reference=False)
- class hls4ml.backends.catapult.catapult_types.CatapultInplaceArrayVariableConverter(type_converter)
Bases:
ArrayVariableConverter
- class hls4ml.backends.catapult.catapult_types.CatapultInplaceArrayVariableDefinition
Bases:
VariableDefinition
- definition_cpp()
- class hls4ml.backends.catapult.catapult_types.CatapultInplaceStreamVariableConverter(type_converter)
- class hls4ml.backends.catapult.catapult_types.CatapultInplaceStreamVariableDefinition
Bases:
VariableDefinition
- definition_cpp()
- class hls4ml.backends.catapult.catapult_types.CatapultStreamVariableConverter(type_converter)
Bases:
StreamVariableConverter
- class hls4ml.backends.catapult.catapult_types.CatapultStreamVariableDefinition
Bases:
VariableDefinition
- definition_cpp(name_suffix='', as_reference=False)
- class hls4ml.backends.catapult.catapult_types.CatapultStructMemberVariableConverter(type_converter)
- class hls4ml.backends.catapult.catapult_types.CatapultStructMemberVariableDefinition
Bases:
VariableDefinition
- definition_cpp(name_suffix='', as_reference=False)