Skip to content
Snippets Groups Projects
Unverified Commit d2a36378 authored by Yaman Umuroglu's avatar Yaman Umuroglu Committed by GitHub
Browse files

[Pool] add parantheses around exp cycles calc

parent debbe662
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ class Pool_Batch(HLSCustomOp):
k = self.get_nodeattr("KernelSize")
odim = self.get_nodeattr("OutImgDim")
batch_size = self.get_nodeattr("BatchSize")
exp_cycles = (ifm_ch * k * k) / pe * odim * odim * batch_size
exp_cycles = ((ifm_ch * k * k) / pe) * odim * odim * batch_size
return int(exp_cycles)
def get_instream_width(self):
......
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