Hi, everyone I am getting this following error :
boolean index did not match indexed array along dimension 0; dimension is 1 but corresponding boolean dimension is 3
here is my code :
{moderator edit - solution code removed}
Hi, everyone I am getting this following error :
boolean index did not match indexed array along dimension 0; dimension is 1 but corresponding boolean dimension is 3
here is my code :
{moderator edit - solution code removed}
Look at the logic in the loop over the hidden layers. The intention is that you take in the dA value from the next later layer and you produce the dA for the current layer. That’s not what your code actually is doing, right?
Also please note that we’re not supposed to publish the code, but usually we can help by seeing the exception trace. There is no real harm done, as I will just edit your post to remove the source code.