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

[Exec and code gen] Added function to get all attributes of an streaming fclayer batch

parent 8602a2d6
No related branches found
No related tags found
No related merge requests found
......@@ -8,3 +8,32 @@ class StreamingFCLayer_Batch(HLSCustomOp):
def infer_node_datatype(self, node, model):
pass
def get_attributes(self, node):
self.resType = get_by_name(node.attribute, "resType").s.decode("utf-8")
self.MW = get_by_name(node.attribute, "MW").i
self.MH = get_by_name(node.attribute, "MH").i
self.SIMD = get_by_name(node.attribute, "SIMD").i
self.PE = get_by_name(node.attribute, "PE").i
self.resDataType = get_by_name(node.attribute, "resDataType").s.decode("utf-8")
def global_includes(self, node):
pass
def defines(self, node):
pass
def read_npy_data(self, node):
pass
def strm_decl(self, node):
pass
def docompute(self, node):
pass
def dataoutstrm(self, node):
pass
def save_as_npy(self, node):
pass
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