# A question regarding weights matrix shape (Week 3 or 2)

**URL:** <https://community.deeplearning.ai/t/a-question-regarding-weights-matrix-shape-week-3-or-2/126143>\
**Category:** Neural Networks and Deep Learning\
**Tags:** coursera-platform\
**Created:** [May 8, 2022, 4:10pm UTC](https://community.deeplearning.ai/t/a-question-regarding-weights-matrix-shape-week-3-or-2/126143 "2022-05-08T16:10:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denys](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/denys/32/17821_2.png) [@Denys](https://community.deeplearning.ai/u/Denys)\
**Post date:** [May 8, 2022, 4:10pm UTC](https://community.deeplearning.ai/t/a-question-regarding-weights-matrix-shape-week-3-or-2/126143/1 "2022-05-08T16:10:08Z")

</div>

W​hy in some quizzes I see that the single neuron weights are stored in a column, but in others they are stored in a row? I’m lost

S​ometimes I see “wT \* X”, (which means that single neuron weights are stored in a column, so that the transpose will switch them to horizontal direction), but sometimes the T is omitted

So, what’s the proper way to store weights? single neuron - 1 column or single neuron - 1 row?

---

<div class="post-metadata">

**Author:** ![kenb](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/kenb/32/69_2.png) [@kenb](https://community.deeplearning.ai/u/kenb)\
**Post date:** [May 8, 2022, 4:25pm UTC](https://community.deeplearning.ai/t/a-question-regarding-weights-matrix-shape-week-3-or-2/126143/2 "2022-05-08T16:25:29Z")

</div>

Hi, @Denys. Welcome to the Specialization.

Please see this recent [thread](https://community.deeplearning.ai/t/cant-understand-a-matrix/125234) on the topic. If that doesn’t help, then maybe you think that there is an issue with a quiz question that you can raise.

---

<div class="post-metadata">

**Author:** ![MayankGhogale](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@MayankGhogale](https://community.deeplearning.ai/u/MayankGhogale)\
**Post date:** [May 10, 2022, 1:46am UTC](https://community.deeplearning.ai/t/a-question-regarding-weights-matrix-shape-week-3-or-2/126143/3 "2022-05-10T01:46:00Z")

</div>

Is the issue resolved sir?  
Thank you
