Skip to content
Snippets Groups Projects
Commit e056b638 authored by auphelia's avatar auphelia
Browse files

[HLSCustomOp] set target_dir to code_gen_dir if empty

parent c9e49ed0
No related branches found
No related tags found
No related merge requests found
...@@ -410,6 +410,7 @@ class HLSCustomOp(CustomOp): ...@@ -410,6 +410,7 @@ class HLSCustomOp(CustomOp):
Found no codegen dir for this node, did you run the prepare_cppsim transformation? Found no codegen dir for this node, did you run the prepare_cppsim transformation?
""" """
) )
target_dir = code_gen_dir
# create a npy file for each input of the node (in_ind is input index) # create a npy file for each input of the node (in_ind is input index)
# assuming dynamic inputs start from 0 # assuming dynamic inputs start from 0
for in_ind in range(count): for in_ind in range(count):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment