# Week 2 Exercise 5 propagate function

**URL:** <https://community.deeplearning.ai/t/week-2-exercise-5-propagate-function/22948>\
**Category:** Neural Networks and Deep Learning\
**Tags:** coursera-platform\
**Created:** [July 23, 2021, 11:48pm UTC](https://community.deeplearning.ai/t/week-2-exercise-5-propagate-function/22948 "2021-07-23T23:48:15Z")\
**Posts on this page:** 1\
**Showing post:** 30

<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:** [July 31, 2021, 2:25pm UTC](https://community.deeplearning.ai/t/week-2-exercise-5-propagate-function/22948/30 "2021-07-31T14:25:45Z")

</div>

If you are going to use the dot product to compute the cost, it requires that you transpose the second operand. [Here’s a thread](https://community.deeplearning.ai/t/week3-programming-assignment-4-4-compute-the-cost/18646/6) which shows some examples of the techniques that can be used.

---

_[View the full topic](https://community.deeplearning.ai/t/week-2-exercise-5-propagate-function/22948)._
