Okay, I managed to fix that problem - thank you! Unfortunately now I have a different error - although I can print out Layers 1 and 2 (matmul with m0 and input, and relu on the result), for some reason I am not able to load m1 using my read_matrix file. Input and m0 are read in and loaded up fine, and I made sure that the filepath I was passing into read_matrix for m1 was correct, but I keep getting the "Venus ran into a simulator error!
Attempting to access uninitialized memory between the stack and heap. Attempting to access '4' bytes at address..." error if I don't comment out anything to do with m1. I attached a screenshot of my output when m1 read_matrix and load are commented out, and one when they aren't (if that helps).
I'm using read_matrix on m1 in line 128 of main.s, and allocating the space for its parameters in lines 135-139.
It's formatted almost exactly the same as input and m0, so I'm not sure why it isn't working.