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

[HLSCustomOp] Add function to get expected cycles for a layer, needs to be...

[HLSCustomOp] Add function to get expected cycles for a layer, needs to be specified by each node class
parent d6495c52
No related branches found
No related tags found
No related merge requests found
...@@ -209,6 +209,12 @@ class HLSCustomOp(CustomOp): ...@@ -209,6 +209,12 @@ class HLSCustomOp(CustomOp):
HLSCustomOp class but has to be filled by every node""" HLSCustomOp class but has to be filled by every node"""
return 0 return 0
def get_exp_cycles(self):
"""Function for estimation of expected cycles for set folding,
is member function of HLSCustomOp class but has to be filled
by every node"""
return 0
def code_generation_ipgen(self, model, fpgapart, clk): def code_generation_ipgen(self, model, fpgapart, clk):
"""Generates c++ code and tcl script for ip generation.""" """Generates c++ code and tcl script for ip generation."""
node = self.onnx_node node = self.onnx_node
......
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