# DLC1W4 Programming Assignment3-:

**URL:** <https://community.deeplearning.ai/t/dlc1w4-programming-assignment3/32061>\
**Category:** Neural Networks and Deep Learning\
**Tags:** coursera-platform\
**Created:** [August 30, 2021, 1:55pm UTC](https://community.deeplearning.ai/t/dlc1w4-programming-assignment3/32061 "2021-08-30T13:55:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeepakMewada](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DeepakMewada](https://community.deeplearning.ai/u/DeepakMewada)\
**Post date:** [August 30, 2021, 1:55pm UTC](https://community.deeplearning.ai/t/dlc1w4-programming-assignment3/32061/1 "2021-08-30T13:55:39Z")

</div>

Why is it giving this error; When the value of W1,b1, W2,b2 are the same as expected values?

`Error: Wrong output for variable W1. Error: Wrong output for variable b1. Error: Wrong output for variable W2. Error: Wrong output for variable b2.`

 ![image](https://global.discourse-cdn.com/dlai/original/2X/5/53ffda4cb2813a9e709d36225384048095685c7e.png)

---

<div class="post-metadata">

**Author:** ![fausan](https://avatars.discourse-cdn.com/v4/letter/f/e56c9b/32.png) [@fausan](https://community.deeplearning.ai/u/fausan)\
**Post date:** [August 30, 2021, 2:01pm UTC](https://community.deeplearning.ai/t/dlc1w4-programming-assignment3/32061/2 "2021-08-30T14:01:49Z")

</div>

Expected output is shown only for one test case. You have only passed 2/3 test cases.

---

<div class="post-metadata">

**Author:** ![paulinpaloalto](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/paulinpaloalto/32/187_2.png) [@paulinpaloalto](https://community.deeplearning.ai/u/paulinpaloalto)\
**Post date:** [August 30, 2021, 4:07pm UTC](https://community.deeplearning.ai/t/dlc1w4-programming-assignment3/32061/3 "2021-08-30T16:07:28Z")

</div>

Yes, please see [this thread](https://community.deeplearning.ai/t/week-3-program-assignment-update-parameters/4016/2) for one possible explanation. Note that thread is about the update parameters logic in the Week 3 assignment, but the same point applies in Week 4 as well.

---

<div class="post-metadata">

**Author:** ![DeepakMewada](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DeepakMewada](https://community.deeplearning.ai/u/DeepakMewada)\
**Post date:** [August 31, 2021, 3:10am UTC](https://community.deeplearning.ai/t/dlc1w4-programming-assignment3/32061/4 "2021-08-31T03:10:45Z")

</div>

Thanks, @paulinpaloalto. The thread you mentioned is very useful. It solved the issue. I appreciate your help 🙂
