hls4ml package
Subpackages
- hls4ml.backends package
- Subpackages
- Submodules
- hls4ml.backends.backend module
- hls4ml.backends.template module
- Module contents
- hls4ml.converters package
- Subpackages
- hls4ml.converters.keras package
- Submodules
- hls4ml.converters.keras.convolution module
- hls4ml.converters.keras.core module
- hls4ml.converters.keras.graph module
- hls4ml.converters.keras.hgq_proxy_model module
- hls4ml.converters.keras.merge module
- hls4ml.converters.keras.model module
- hls4ml.converters.keras.pooling module
- hls4ml.converters.keras.qkeras module
- hls4ml.converters.keras.recurrent module
- hls4ml.converters.keras.reshape module
- hls4ml.converters.keras.reshaping module
- Module contents
- hls4ml.converters.onnx package
- hls4ml.converters.pytorch package
- hls4ml.converters.keras package
- Submodules
- hls4ml.converters.keras_to_hls module
- hls4ml.converters.onnx_to_hls module
- hls4ml.converters.pytorch_to_hls module
- hls4ml.converters.utils module
- Module contents
- Subpackages
- hls4ml.model package
- Subpackages
- Submodules
- hls4ml.model.attributes module
- hls4ml.model.graph module
HLSConfig
HLSConfig.get_bram_size()
HLSConfig.get_compression()
HLSConfig.get_config_value()
HLSConfig.get_conv_implementation()
HLSConfig.get_layer_config()
HLSConfig.get_layer_config_value()
HLSConfig.get_output_dir()
HLSConfig.get_precision()
HLSConfig.get_project_dir()
HLSConfig.get_project_name()
HLSConfig.get_reuse_factor()
HLSConfig.get_strategy()
HLSConfig.get_target_cycles()
HLSConfig.get_writer_config()
HLSConfig.is_resource_strategy()
HLSConfig.parse_name_config()
HLSConfig.set_name_config()
ModelGraph
ModelGraph.apply_flow()
ModelGraph.build()
ModelGraph.compile()
ModelGraph.get_input_variables()
ModelGraph.get_layer_output_variable()
ModelGraph.get_layers()
ModelGraph.get_output_variables()
ModelGraph.get_weight_variables()
ModelGraph.insert_node()
ModelGraph.make_node()
ModelGraph.next_layer()
ModelGraph.predict()
ModelGraph.register_output_variable()
ModelGraph.remove_node()
ModelGraph.replace_node()
ModelGraph.split_node()
ModelGraph.trace()
ModelGraph.write()
- hls4ml.model.layers module
Activation
ApplyAlpha
BatchNormOnnx
BatchNormalization
BiasAdd
Concatenate
Constant
Conv
Conv1D
Conv2D
Conv2DBatchnorm
Dense
DepthwiseConv1D
DepthwiseConv2D
Dot
Embedding
GRU
GarNet
GarNetStack
GlobalPooling1D
GlobalPooling2D
HardActivation
Input
LSTM
Layer
Layer.add_bias()
Layer.add_output_variable()
Layer.add_weights()
Layer.add_weights_variable()
Layer.class_name
Layer.expected_attributes
Layer.get_attr()
Layer.get_input_node()
Layer.get_input_variable()
Layer.get_layer_precision()
Layer.get_output_nodes()
Layer.get_output_use_map()
Layer.get_output_variable()
Layer.get_variables()
Layer.get_weights()
Layer.initialize()
Layer.set_attr()
LayerGroup
MatMul
Merge
PReLU
ParametrizedActivation
Pooling1D
Pooling2D
Quant
Reshape
Resize
SeparableConv1D
SeparableConv2D
SimpleRNN
Softmax
SymbolicExpression
TernaryTanh
Transpose
ZeroPadding1D
ZeroPadding2D
classproperty
register_layer()
- hls4ml.model.profiling module
- hls4ml.model.quantizers module
- hls4ml.model.types module
CompressedType
CompressedWeightVariable
ExponentPrecisionType
ExponentType
ExponentWeightVariable
FixedPrecisionType
InplaceTensorVariable
IntegerPrecisionType
NamedType
PackedType
PrecisionType
RoundingMode
SaturationMode
Source
TensorVariable
UnspecifiedPrecisionType
Variable
WeightVariable
XnorPrecisionType
find_minimum_width()
- Module contents
- hls4ml.optimization package
- hls4ml.report package
- hls4ml.utils package
- hls4ml.writer package
- Submodules
- hls4ml.writer.catapult_writer module
CatapultWriter
CatapultWriter.print_array_to_cpp()
CatapultWriter.write_bridge()
CatapultWriter.write_build_script()
CatapultWriter.write_defines()
CatapultWriter.write_generated_code()
CatapultWriter.write_hls()
CatapultWriter.write_nnet_utils()
CatapultWriter.write_output_dir()
CatapultWriter.write_parameters()
CatapultWriter.write_project_cpp()
CatapultWriter.write_project_header()
CatapultWriter.write_tar()
CatapultWriter.write_test_bench()
CatapultWriter.write_weights()
CatapultWriter.write_yml()
- hls4ml.writer.oneapi_writer module
OneAPIWriter
OneAPIWriter.get_max_reuse_factor()
OneAPIWriter.print_array_to_cpp()
OneAPIWriter.write_activation_tables()
OneAPIWriter.write_bridge()
OneAPIWriter.write_build_script()
OneAPIWriter.write_defines()
OneAPIWriter.write_hls()
OneAPIWriter.write_nnet_utils()
OneAPIWriter.write_parameters()
OneAPIWriter.write_project_cpp()
OneAPIWriter.write_project_dir()
OneAPIWriter.write_project_header()
OneAPIWriter.write_tar()
OneAPIWriter.write_test_bench()
OneAPIWriter.write_weights()
OneAPIWriter.write_yml()
- hls4ml.writer.quartus_writer module
QuartusWriter
QuartusWriter.get_max_reuse_factor()
QuartusWriter.next_pow2()
QuartusWriter.print_array_to_cpp()
QuartusWriter.write_activation_tables()
QuartusWriter.write_bridge()
QuartusWriter.write_build_script()
QuartusWriter.write_defines()
QuartusWriter.write_hls()
QuartusWriter.write_nnet_utils()
QuartusWriter.write_parameters()
QuartusWriter.write_project_cpp()
QuartusWriter.write_project_dir()
QuartusWriter.write_project_header()
QuartusWriter.write_tar()
QuartusWriter.write_test_bench()
QuartusWriter.write_testbench_parallel()
QuartusWriter.write_testbench_stream()
QuartusWriter.write_weights()
QuartusWriter.write_yml()
- hls4ml.writer.symbolic_writer module
- hls4ml.writer.vitis_writer module
- hls4ml.writer.vivado_accelerator_writer module
- hls4ml.writer.vivado_writer module
VivadoWriter
VivadoWriter.print_array_to_cpp()
VivadoWriter.write_bridge()
VivadoWriter.write_build_script()
VivadoWriter.write_defines()
VivadoWriter.write_generated_code()
VivadoWriter.write_hls()
VivadoWriter.write_nnet_utils()
VivadoWriter.write_parameters()
VivadoWriter.write_project_cpp()
VivadoWriter.write_project_dir()
VivadoWriter.write_project_header()
VivadoWriter.write_tar()
VivadoWriter.write_test_bench()
VivadoWriter.write_weights()
VivadoWriter.write_yml()
- hls4ml.writer.writers module
- Module contents
Module contents
- hls4ml.reseed(newseed)