# W2\_A2\_Initialize with zeros undefined

**URL:** <https://community.deeplearning.ai/t/w2-a2-initialize-with-zeros-undefined/503416>\
**Category:** Neural Networks and Deep Learning\
**Tags:** coursera-platform\
**Created:** [November 25, 2023, 12:56pm UTC](https://community.deeplearning.ai/t/w2-a2-initialize-with-zeros-undefined/503416 "2023-11-25T12:56:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hridam\_Adhikari](https://avatars.discourse-cdn.com/v4/letter/h/ba9def/32.png) [@Hridam\_Adhikari](https://community.deeplearning.ai/u/Hridam_Adhikari)\
**Post date:** [November 25, 2023, 12:56pm UTC](https://community.deeplearning.ai/t/w2-a2-initialize-with-zeros-undefined/503416/1 "2023-11-25T12:56:05Z")

</div>

![image](https://global.discourse-cdn.com/dlai/original/3X/8/c/8cd7dbfe6d63de2aa182e1a7ff384fcaf50a29a9.jpeg)  
Moderator Edit: Solution Code Removed  
Can anybody please help me with this one. I have been trying for hours and could not do it. I am unable to find the mistake.

---

<div class="post-metadata">

**Author:** ![saifkhanengr](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/saifkhanengr/32/152858_2.png) [@saifkhanengr](https://community.deeplearning.ai/u/saifkhanengr)\
**Post date:** [November 25, 2023, 1:18pm UTC](https://community.deeplearning.ai/t/w2-a2-initialize-with-zeros-undefined/503416/2 "2023-11-25T13:18:11Z")

</div>

First, please avoid sharing your code as it is against the community code of conduct.

Simply run all the above cells or do Kernel → Restart & Run All.

---

<div class="post-metadata">

**Author:** ![Hridam\_Adhikari](https://avatars.discourse-cdn.com/v4/letter/h/ba9def/32.png) [@Hridam\_Adhikari](https://community.deeplearning.ai/u/Hridam_Adhikari)\
**Post date:** [November 25, 2023, 1:57pm UTC](https://community.deeplearning.ai/t/w2-a2-initialize-with-zeros-undefined/503416/3 "2023-11-25T13:57:48Z")

</div>

So sorry to do so sir, but I have been doing the methods u said for a long time, still I could not find any success.

---

<div class="post-metadata">

**Author:** ![saifkhanengr](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/saifkhanengr/32/152858_2.png) [@saifkhanengr](https://community.deeplearning.ai/u/saifkhanengr)\
**Post date:** [November 25, 2023, 2:02pm UTC](https://community.deeplearning.ai/t/w2-a2-initialize-with-zeros-undefined/503416/4 "2023-11-25T14:02:35Z")

</div>

Then maybe you have deleted/modified some code or cells. Please see [this guide](https://community.deeplearning.ai/t/how-to-get-a-clean-copy-of-an-assignment-notebook/73) to get a clean copy of your assignment and do your code again, without deleting/modifying any other code/cells.

---

<div class="post-metadata">

**Author:** ![Hridam\_Adhikari](https://avatars.discourse-cdn.com/v4/letter/h/ba9def/32.png) [@Hridam\_Adhikari](https://community.deeplearning.ai/u/Hridam_Adhikari)\
**Post date:** [November 25, 2023, 2:05pm UTC](https://community.deeplearning.ai/t/w2-a2-initialize-with-zeros-undefined/503416/5 "2023-11-25T14:05:33Z")

</div>

Thank you so much sir. I am sorry to have violated the rules. Have a good night!
