Hi and thanks for helping.
I passed every single unit test before the last function in assignment 1 but the last function I get results that are not identical to the unit test. what should I do?
my output:
gradients[“dx”][1][2] = [ 0.00296954 0.24084671 -0.25074631 -0.43281115]
gradients[“dx”].shape = (3, 10, 4)
gradients[“da0”][2][3] = -0.0182864615005615
gradients[“da0”].shape = (5, 10)
gradients[“dWf”][3][1] = -0.06685625837650712
gradients[“dWf”].shape = (5, 8)
gradients[“dWi”][1][2] = 0.01653664501775648
gradients[“dWi”].shape = (5, 8)
gradients[“dWc”][3][1] = -0.05752283221607342
gradients[“dWc”].shape = (5, 8)
gradients[“dWo”][1][2] = 0.04843891314443014
gradients[“dWo”].shape = (5, 8)
gradients[“dbf”][4] = [-0.10526487]
gradients[“dbf”].shape = (5, 1)
gradients[“dbi”][4] = [-0.27272551]
gradients[“dbi”].shape = (5, 1)
gradients[“dbc”][4] = [-0.28212524]
gradients[“dbc”].shape = (5, 1)
gradients[“dbo”][4] = [-0.29798344]
gradients[“dbo”].shape = (5, 1)
gradients[dx][1][2] = | [0.00218254 0.28205375 -0.48292508 -0.43281115] |
---|---|
gradients[dx].shape = | (3, 10, 4) |
gradients[da0][2][3] = | 0.312770310257 |
gradients[da0].shape = | (5, 10) |
gradients[dWf][3][1] = | -0.0809802310938 |
gradients[dWf].shape = | (5, 8) |
gradients[dWi][1][2] = | 0.40512433093 |
gradients[dWi].shape = | (5, 8) |
gradients[dWc][3][1] = | -0.0793746735512 |
gradients[dWc].shape = | (5, 8) |
gradients[dWo][1][2] = | 0.038948775763 |
gradients[dWo].shape = | (5, 8) |
gradients[dbf][4] = | [-0.15745657] |
gradients[dbf].shape = | (5, 1) |
gradients[dbi][4] = | [-0.50848333] |
gradients[dbi].shape = | (5, 1) |
gradients[dbc][4] = | [-0.42510818] |
gradients[dbc].shape = | (5, 1) |
gradients[dbo][4] = | [ -0.17958196] |
gradients[dbo].shape = | (5, 1) |