Skip to content

Commit d2da598

Browse files
committed
Merge branch 'Fixesv110' of https://github.com/fastmachinelearning/hls4ml-tutorial into Fixesv110
2 parents 3cdf1e7 + 6d81781 commit d2da598

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exclude: .*\.rpt$
22

33
repos:
44
- repo: https://github.com/psf/black
5-
rev: 24.10.0
5+
rev: 25.1.0
66
hooks:
77
- id: black-jupyter
88
language_version: python3
@@ -24,7 +24,7 @@ repos:
2424
- id: trailing-whitespace
2525

2626
- repo: https://github.com/PyCQA/isort
27-
rev: 5.13.2
27+
rev: 6.0.1
2828
hooks:
2929
- id: isort
3030
args: ["--profile", "black", --line-length=125]
@@ -41,7 +41,7 @@ repos:
4141
- id: setup-cfg-fmt
4242

4343
- repo: https://github.com/pycqa/flake8
44-
rev: 7.1.1
44+
rev: 7.1.2
4545
hooks:
4646
- id: flake8
4747
exclude: docs/conf.py

part4.1_HG_quantization.ipynb

+3-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,9 @@
307307
"import hls4ml\n",
308308
"import plotting\n",
309309
"\n",
310-
"hls_model = hls4ml.converters.convert_from_keras_model(proxy, output_dir='model_3.1/hls4ml_prj', part='xcu250-figd2104-2L-e', backend='Vitis')\n",
310+
"hls_model = hls4ml.converters.convert_from_keras_model(\n",
311+
" proxy, output_dir='model_3.1/hls4ml_prj', part='xcu250-figd2104-2L-e', backend='Vitis'\n",
312+
")\n",
311313
"hls_model.compile()\n",
312314
"\n",
313315
"X_test = np.ascontiguousarray(X_test)\n",

0 commit comments

Comments
 (0)