# C1-W3\_Exercise6

**URL:** <https://community.deeplearning.ai/t/c1-w3-exercise6/338171>\
**Category:** Linear Algebra for Machine Learning and Data Sc...\
**Tags:** week-module-3\
**Created:** [May 18, 2023, 3:29pm UTC](https://community.deeplearning.ai/t/c1-w3-exercise6/338171 "2023-05-18T15:29:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rod\_Bennett](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@Rod\_Bennett](https://community.deeplearning.ai/u/Rod_Bennett)\
**Post date:** [May 18, 2023, 3:29pm UTC](https://community.deeplearning.ai/t/c1-w3-exercise6/338171/1 "2023-05-18T15:29:56Z")

</div>

Hi,  
I’m having trouble understanding the instructions for Exercise 6. Are we supposed to substitute n\_x, n\_y with X\_multi\_norm, Y\_multi\_norm in Section 2? When I do that, nothing changes. Or are we supposed to hardcode X.shape(2, m)? Or none of the above??

Thanks

---

<div class="post-metadata">

**Author:** ![Isaak\_Kamau](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/isaak_kamau/32/124242_2.png) [@Isaak\_Kamau](https://community.deeplearning.ai/u/Isaak_Kamau)\
**Post date:** [May 21, 2023, 6:01pm UTC](https://community.deeplearning.ai/t/c1-w3-exercise6/338171/2 "2023-05-21T18:01:40Z")

</div>

Hello @Rod_Bennett

- `n_x`: the size of the input layer `X` **input dataset of shape (input size, number of examples)**
- `n_y`: the size of the output layer `Y` **labels of shape (output size, number of examples)**

So you should have something like

`n_x = X.shape[_]`

Hope that helps
