Skip to content

Custom Op Clarification #1160

Answered by iksnagreb
JPPalacios asked this question in Q&A
Discussion options

You must be logged in to vote

The general idea discussed there should still apply and it is mostly the same functions/methods you have to implement, but it is distributed differently throughout the repository and some names changed: Since the last release there is a two-level approach to introducing new custom ops, so you have to implement at least two classes now. The first level must derive from the new HWCustomOP class and typically contains all the general shape and datatype handling and maybe calling into the Python or RTL simulation. The second level derives from your first level as well as either the HLSBackend or RTLBackend class to specialize how your operator is actually implemented. Here you must implement …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by auphelia
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants