Skip to content

Commit 95ed158

Browse files
authored
Merge branch 'dev' into feature/attention-streamline
2 parents 311ac68 + a0b9007 commit 95ed158

File tree

15 files changed

+2670
-31
lines changed

15 files changed

+2670
-31
lines changed

.isort.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ sections=FUTURE,STDLIB,TEST,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
99
default_section=THIRDPARTY
1010
multi_line_output=3
1111
profile=black
12+
ignore_comments=true
13+
ignore_whitespace=true
14+
honor_noqa=true

fetch-repos.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
QONNX_COMMIT="4b731dbf3120316f11ae1c4b298ceaf9e73f21b3"
3131
FINN_EXP_COMMIT="0724be21111a21f0d81a072fccc1c446e053f851"
32-
BREVITAS_COMMIT="d4834bd2a0fad3c1fbc0ff7e1346d5dcb3797ea4"
32+
BREVITAS_COMMIT="003f9f4070c20639790c7b406a28612a089fc502"
3333
PYVERILATOR_COMMIT="ce0a08c20cb8c1d1e84181d6f392390f846adbd1"
3434
CNPY_COMMIT="4e8810b1a8637695171ed346ce68f6984e585ef4"
3535
HLSLIB_COMMIT="5c5ad631e3602a8dd5bd3399a016477a407d6ee7"
@@ -42,7 +42,7 @@ EXP_BOARD_FILES_MD5="226ca927a16ea4ce579f1332675e9e9a"
4242

4343
QONNX_URL="https://github.com/iksnagreb/qonnx.git"
4444
FINN_EXP_URL="https://github.com/Xilinx/finn-experimental.git"
45-
BREVITAS_URL="https://github.com/Xilinx/brevitas.git"
45+
BREVITAS_URL="https://github.com/iksnagreb/brevitas.git"
4646
PYVERILATOR_URL="https://github.com/maltanar/pyverilator.git"
4747
CNPY_URL="https://github.com/rogersce/cnpy.git"
4848
HLSLIB_URL="https://github.com/Xilinx/finn-hlslib.git"

src/finn/custom_op/fpgadataflow/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,17 @@ def register_custom_op(cls):
5151
# Disable linting from here, as all import will be flagged E402 and maybe F401
5252

5353

54+
# Import the submodule containing specializations of ElementwiseBinaryOperation
55+
# Note: This will automatically register all decorated classes into this domain
56+
import finn.custom_op.fpgadataflow.elementwise_binary
57+
5458
# Import the submodule containing the Squeeze operation
5559
# Note: This will automatically register all decorated classes into this domain
5660
import finn.custom_op.fpgadataflow.squeeze
5761

5862
# Import the submodule containing the Unsqueeze operation
5963
import finn.custom_op.fpgadataflow.unsqueeze
64+
6065
from finn.custom_op.fpgadataflow.addstreams import AddStreams
6166
from finn.custom_op.fpgadataflow.channelwise_op import ChannelwiseOp
6267
from finn.custom_op.fpgadataflow.concat import StreamingConcat

0 commit comments

Comments
 (0)