Data Science Asked by adhok on September 5, 2021
I am trying to implement a CNN in NumPy so as to better understand its inner workings
My architecture is as follows
Using backpropagation, I have been able to calculate the error of the second convolutional output, which has the dimensions 10X6X8X8. I need to calculate the error of the first max-pooling output. This involves the following steps
resulting_weight = np.rot90(np.rot90(weight,axes(2,3),axes=(2,3))
I am unsure of how to implement the last step due to un-matching dimensions. The full convolutional operation should result in a matrix with the dimensions (10X3X12X12). This is made possible only if the rotated matrix has the dimensions (3X6X5X5). Should we re-shape the rotated matrix to have the dimensions (3X6X5X5)? Or is my understanding of the 180-degree rotation wrong?
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP