deeplearning.ai_JupyterNotebooks icon indicating copy to clipboard operation
deeplearning.ai_JupyterNotebooks copied to clipboard

上面代码中的幂运算我之前用到的是pow()函数,但是最后计算出的结果却是错的,主要表现在计算出的b的维度有误,如果知道原因的麻烦告知一下,谢谢!!!

Open weiliu0506 opened this issue 7 years ago • 0 comments

s_corrected["dW" + str(l+1)] = s["dW" + str(l+1)]/(1 - pow(beta2, t)) s_corrected["db" + str(l+1)] = s["dW" + str(l+1)]/(1 - pow(beta2, t))

变量写错了,应该是db,而不是dW 感谢您分享的作业

weiliu0506 avatar Mar 02 '18 07:03 weiliu0506