I can’t get the random parameters seeding function to pass all the tests.
It would be useful to know what the tests are (is this possible) so I could debug it?
the code is:
{moderator edit - solution code removed}
I can’t get the random parameters seeding function to pass all the tests.
It would be useful to know what the tests are (is this possible) so I could debug it?
the code is:
{moderator edit - solution code removed}
You filed this under DLS Course 4 (ConvNets), but I think it is DLS Course 2 Week 1.
The tests being used in the notebook are all included in the files in the same directory. Have a look at the “import” block early in the notebook to figure out which files to look at. The tests are usually in a file called public_tests.py
, but occasionally they use other functions as well.
But just looking at your code, it’s pretty obvious that you just copied the idea from DLS C1 W4 A1 and multiplied the random values by 0.01
. Please have a more careful look at the instructions and you’ll see that is not what they told you to do here.
Your solution actually probably works better in most cases, but the point is we have to follow the instructions.