Skip to content
Snippets Groups Projects
Commit 18d17bfd authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Pool] adjust kernel param as total k

parent 4b93d77b
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,7 @@ class Pool_Batch(HLSCustomOp):
self.code_gen_dict["$DEFINES$"] += ["#define PE {}".format(pe)]
k = self.get_nodeattr("KernelSize")
self.code_gen_dict["$DEFINES$"] += ["#define KernelSize {}".format(k)]
self.code_gen_dict["$DEFINES$"] += ["#define KernelSize {}".format(k * k)]
odim = self.get_nodeattr("OutImgDim")
self.code_gen_dict["$DEFINES$"] += ["#define OFMDim {}".format(odim)]
......
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