cornell-zhang / bnn-fpga

Binarized Convolutional Neural Networks on Software-Programmable FPGAs
BSD 3-Clause "New" or "Revised" License
298 stars 112 forks source link

How is the padding done on the images? #27

Closed nalnatsheh closed 5 months ago

nalnatsheh commented 5 months ago

Hi, I am trying to understand, how is the Padding done in your code? Are you taking each channel and you performing the padding? as an e.g. a (32*32) 1024 floating number that represents the red channel? or you perform the padding on the whole 3072 floating numbers?