StreamingFCLayer_Batch weight order #80
Unanswered
MohamedA95
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to implement a network using Finn-hlslib directly. I am a little bit confused about the correct weight order for
StreamingFCLayer_Batch
. I understand that all layers read the input in a depth-wise raster mode. But when it comes to FCLayer, the input is supposed to be 1D. In my network, I have aQuantMaxPool2d
which generates an output of size [6466] followed by aQuantLinear
layer where the num of input features is 6466=2304 & num of output features is 120. Hence theQuantLinear
weight's size is [120,2304]. When I try to extract the weights to a.hpp
how should I order theQuantLinear
weight? For conv layers, I followed a depth-wise raster order, but for conv layers, the weight tensor is a 3D tensor. But forQuantLinear
weight it's a 2D object!Beta Was this translation helpful? Give feedback.
All reactions