My output is as follows:
starts, ends, slice : 0 3 0 3 (3, 3, 4)
starts, ends, slice : 0 3 0 3 (3, 3, 4)
starts, ends, slice : 0 3 0 3 (3, 3, 4)
starts, ends, slice : 0 3 0 3 (3, 3, 4)
starts, ends, slice : 0 3 0 3 (3, 3, 4)
starts, ends, slice : 0 3 0 3 (3, 3, 4)
starts, ends, slice : 0 3 0 3 (3, 3, 4)
starts, ends, slice : 0 3 0 3 (3, 3, 4)
starts, ends, slice : 0 3 2 5 (3, 3, 4)
starts, ends, slice : 0 3 2 5 (3, 3, 4)
starts, ends, slice : 0 3 2 5 (3, 3, 4)
starts, ends, slice : 0 3 2 5 (3, 3, 4)
starts, ends, slice : 0 3 2 5 (3, 3, 4)
starts, ends, slice : 0 3 2 5 (3, 3, 4)
starts, ends, slice : 0 3 2 5 (3, 3, 4)
starts, ends, slice : 0 3 2 5 (3, 3, 4)
starts, ends, slice : 0 3 4 7 (3, 3, 4)
starts, ends, slice : 0 3 4 7 (3, 3, 4)
starts, ends, slice : 0 3 4 7 (3, 3, 4)
starts, ends, slice : 0 3 4 7 (3, 3, 4)
starts, ends, slice : 0 3 4 7 (3, 3, 4)
starts, ends, slice : 0 3 4 7 (3, 3, 4)
starts, ends, slice : 0 3 4 7 (3, 3, 4)
starts, ends, slice : 0 3 4 7 (3, 3, 4)
starts, ends, slice : 2 5 0 3 (3, 3, 4)
starts, ends, slice : 2 5 0 3 (3, 3, 4)
starts, ends, slice : 2 5 0 3 (3, 3, 4)
starts, ends, slice : 2 5 0 3 (3, 3, 4)
starts, ends, slice : 2 5 0 3 (3, 3, 4)
starts, ends, slice : 2 5 0 3 (3, 3, 4)
starts, ends, slice : 2 5 0 3 (3, 3, 4)
starts, ends, slice : 2 5 0 3 (3, 3, 4)
starts, ends, slice : 2 5 2 5 (3, 3, 4)
starts, ends, slice : 2 5 2 5 (3, 3, 4)
starts, ends, slice : 2 5 2 5 (3, 3, 4)
starts, ends, slice : 2 5 2 5 (3, 3, 4)
starts, ends, slice : 2 5 2 5 (3, 3, 4)
starts, ends, slice : 2 5 2 5 (3, 3, 4)
starts, ends, slice : 2 5 2 5 (3, 3, 4)
starts, ends, slice : 2 5 2 5 (3, 3, 4)
starts, ends, slice : 2 5 4 7 (3, 3, 4)
starts, ends, slice : 2 5 4 7 (3, 3, 4)
starts, ends, slice : 2 5 4 7 (3, 3, 4)
starts, ends, slice : 2 5 4 7 (3, 3, 4)
starts, ends, slice : 2 5 4 7 (3, 3, 4)
starts, ends, slice : 2 5 4 7 (3, 3, 4)
starts, ends, slice : 2 5 4 7 (3, 3, 4)
starts, ends, slice : 2 5 4 7 (3, 3, 4)
starts, ends, slice : 4 7 0 3 (3, 3, 4)
starts, ends, slice : 4 7 0 3 (3, 3, 4)
starts, ends, slice : 4 7 0 3 (3, 3, 4)
starts, ends, slice : 4 7 0 3 (3, 3, 4)
starts, ends, slice : 4 7 0 3 (3, 3, 4)
starts, ends, slice : 4 7 0 3 (3, 3, 4)
starts, ends, slice : 4 7 0 3 (3, 3, 4)
starts, ends, slice : 4 7 0 3 (3, 3, 4)
starts, ends, slice : 4 7 2 5 (3, 3, 4)
starts, ends, slice : 4 7 2 5 (3, 3, 4)
starts, ends, slice : 4 7 2 5 (3, 3, 4)
starts, ends, slice : 4 7 2 5 (3, 3, 4)
starts, ends, slice : 4 7 2 5 (3, 3, 4)
starts, ends, slice : 4 7 2 5 (3, 3, 4)
starts, ends, slice : 4 7 2 5 (3, 3, 4)
starts, ends, slice : 4 7 2 5 (3, 3, 4)
starts, ends, slice : 4 7 4 7 (3, 3, 4)
starts, ends, slice : 4 7 4 7 (3, 3, 4)
starts, ends, slice : 4 7 4 7 (3, 3, 4)
starts, ends, slice : 4 7 4 7 (3, 3, 4)
starts, ends, slice : 4 7 4 7 (3, 3, 4)
starts, ends, slice : 4 7 4 7 (3, 3, 4)
starts, ends, slice : 4 7 4 7 (3, 3, 4)
starts, ends, slice : 4 7 4 7 (3, 3, 4)
starts, ends, slice : 6 9 0 3 (1, 3, 4)
As you can see, in the last case the shape of the slice is (1, 3, 4) instead of the expected (3, 3, 4), and that’s why the error is being raised. But I don’t understand what might be causing this.
Also I only have one test for this function, called “conv_forward_test”
Thank you very much!