Hello,
I’m trying to verify my solution for the random_mini_batches function.
without posting code I get results which are of the expected shape but throw the assertion error that not all tests were passed.
Within the function I do something similar to
X[i*desired_size:(i+1)*desired size]
and for the final batch, which is smaller than the desired size I have something like
X[(i+1)*desired_size:]
This gives me the correct shapes, but somehow I still get the error… any help would be great.
Cheers,
W