Skip to content

Commit 922f439

Browse files
authored
Merge pull request #788 from fastmachinelearning/docs_071
Minor docs fixes for 0.7.1
2 parents 29f33ab + 2b83d18 commit 922f439

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

docs/setup.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ If you want to use our :doc:`profiling <api/profiling>` toolbox, you might need
2222
2323
``hls4ml`` is also available as a ``conda`` package in the ``conda-forge`` repository. To install, run:
2424

25+
.. warning::
26+
Version of hls4ml available on ``conda-forge`` is outdated, we recommend installing with ``pip`` to get the latest version.
27+
2528
.. code-block::
2629
2730
conda install -c conda-forge hls4ml

hls4ml/model/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ class NamedType:
370370
371371
For convenience, hls4ml gives names to data types used in the generated HLS. This is equivalent to defining types
372372
in C/C++ like::
373+
373374
typedef precision name;
374375
375376
Args:

hls4ml/utils/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def config_from_keras_model(
9999
Args:
100100
model: Keras model
101101
granularity (str, optional): Granularity of the created config. Defaults to 'model'.
102-
Can be set to 'model', 'type' and 'layer'.
102+
Can be set to 'model', 'type' and 'name'.
103103
104104
Granularity can be used to generate a more verbose config that can be fine-tuned.
105105
The default granularity ('model') will generate config keys that apply to the whole

0 commit comments

Comments
 (0)