Hi am currently working on week 4 exercise 1 project involving implementing a two-layer neural network. While I’ve made significant progress in my implementation, I’ve encountered an error that has me stumped. I’m reaching out to the community for assistance and guidance in resolving this issue.
The specific error I’m facing is a “shapes not aligned” error during the forward propagation step of my two-layer neural network. The error message reads as follows:
As I understand it, this error pertains to a mismatch in the dimensions of matrices during a matrix multiplication operation within my linear_forward
function. I have carefully reviewed my code However, despite my efforts, I haven’t been able to identify the root cause of this issue.
I am reaching out to the community to seek assistance in debugging this error. I believe that your expertise and insights could provide valuable guidance in resolving this challenge. If you’re available, I would greatly appreciate your input and suggestions.