Skip to content
Snippets Groups Projects
Commit 2bd61487 authored by Hendrik Borras's avatar Hendrik Borras
Browse files

Fixed rounding error in OFMDim calculation.

parent 06060dd2
No related branches found
No related tags found
No related merge requests found
......@@ -277,7 +277,7 @@ class InferUpsample(Transformation):
# Extract information for HLS node
IFMDim = in_shape[1]
OFMDim = int(in_shape[1] * scales[2])
OFMDim = int(round(in_shape[1] * scales[2]))
NumChannels = in_shape[-1]
numInputVectors = in_shape[0]
inputDataType = dt.name
......
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